geofffranks / json-api

A perl module to simplify interaction with JSON APIs
Other
6 stars 6 forks source link

Fix test suite, json encode/decode behaviour by disallowing nonref en… #6

Closed tehmoth closed 4 years ago

tehmoth commented 4 years ago

…code/decode

See https://github.com/geofffranks/json-api/issues/4

We create a _json attribute on the JSON::API object, instantiating it only when needed (just before to/from json), setting allow_nonref to false which seems reasonable for JSON APIs.