pretty_format from Yojson, Yojson.Basic, Yojson.Safe and Yojson.Raw. (@c-cube, #90)Removed dependency on biniou, simplifying the chain of dependencies. This changes some APIs:
Bi_outbuf.t in signatures is replaced with Buffer.tto_outbuf becomes to_buffer and stream_to_outbuf becomes stream_to_buffer (@Leonidas-from-XIV, #74, and @gasche, #132)yojson-biniou libraryjson type aliasing type t which has been available since 1.6.0 (@Leonidas-from-XIV, #100).json_max type (@Leonidas-from-XIV, #103)pretty_print or to_string) must be an object or array. (@cemerick, #121)validate_json as it only made sense if the type was called json. (@Leonidas-from-XIV, #137)yojson-bench to deal with benchmarks dependency (@tmcgilchrist, #117)suf keyword argument was added to functions that write serialized JSON, thus allowing NDJSON output. Most functions default to not adding any suffix except for to_file (#124, @panglesd) and functions writing sequences of values where the default is \n (#135, @Leonidas-from-XIV)stream_from_* and stream_to_* functions now use a Seq.t instead of a Stream.t, and they are renamed into seq_from_* and seq_to_* (@gasche, #131).stream_to_file (#133, @tcoopman and @gasche)2019-02-14
write_t and read_t to modules defining a JSON ast type for compatibility with atdgen2019-01-30
json types are deprecated in favor of their new t aliases, ahead of their removal in the next major release (#73, @Leonidas-from-XIV)t and monomorphic equal, pp and show (#73, @Leonidas-from-XIV)finish_string instead of silencing them by raising a Failure _from_channel and from_lexbuf readers2014-12-26
Yojson.Safe.buffer_json for saving a raw JSON string while parsing in order to parse later2014-01-19
2013-05-24
2013-05-16
write_float_prec and write_std_float_prec2013-03-19
Yojson.sort to sort fields in objects, and corresponding cmdline option.2012-12-31
2012-03-19
Yojson.to_output for writing to an OO channel; requires biniou >= 1.0.22012-02-27
2012-02-07
2012-01-26
Yojson.Biniou becomes Yojson_biniou, package yojson.biniou2011-04-27
lexer_state and init_lexer definitionsread_null_if_possible function (used by atdgen)2011-01-22
write_int function (affects atdgen)2010-12-04
biniou version 1.0.0 or higher2010-09-13
INSTALL file2010-08-04