-
Étienne Barrié authored
Instead of overriding to_json to return a piece of JSON to be directly embedded in the JSON document, we can now return a JSON::Fragment from as_json. Since both JSON::Coder and JSON::Fragment were shipped together in json 2.10.0, I didn't update the defined? guards. Co-authored-by:
Jean Boussier <jean.boussier@gmail.com>
Étienne Barrié authoredInstead of overriding to_json to return a piece of JSON to be directly embedded in the JSON document, we can now return a JSON::Fragment from as_json. Since both JSON::Coder and JSON::Fragment were shipped together in json 2.10.0, I didn't update the defined? guards. Co-authored-by:
Jean Boussier <jean.boussier@gmail.com>
Loading