python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to exclude a integer that is a string in a json using isinstance python
I have a json that has all values of strings. I have a decoder that takes all the strings and decodes them into the integers, but there is one value that is showing as "01" that I would like...
Alphanum3ric
Votes: 0
Answers: 1
Fixing "ambiguous use of" compiler error in swift
As part of my SingleValueDecodingContainer, I tried to make all FixedWidthInteger types use the same decoding method, however this leads to an "ambiguous use of" error in my Bool decoder tha...
ice-wind
Votes: 0
Answers: 2
Decoding HEVC file in C++ with FFmpeg missing one frame
I'm trying to decode my Hevc file in c++ with using FFmpeg. I used Hevc decoder and try to save the frames in ppm format(Almost the whole source code comes from FFmpeg example [decode_video.c] https:/...
Ivan
Votes: 0
Answers: 1
Generic decoding json into object with optionals
I wrote an extension to Decodable with the hopes of having a generic constructor for objects from json strings, it looks like this:
extension Decodable {
init?(with dictionary: [String: Any]) {
...
Sebby Fay
Votes: 0
Answers: 1