Draft: json: change json API
Create a json_input structure with a read callback and move json_parse_error to prevent the need from redefining it if two modules want to use the parser.
Co-authored-by: Mehdi Sabwat mehdi@videolabs.io
Create a json_input structure with a read callback and move json_parse_error to prevent the need from redefining it if two modules want to use the parser.
Co-authored-by: Mehdi Sabwat mehdi@videolabs.io
VideoLAN code repository instance