Hi all, When parsing with NeoJSON, I’m experiencing some problems.
If I parse a JSON representation using NeoJSONReader>>next (i.e. not according to a schema), it parses nil fields just fine. But when I explicitly set a value schema, it won’t parse it in the case it is nil (or “null” in JSON). Is there a way to let it return nil in the case the parser encounters “null”, and otherwise serialize it as a value schema (e.g. a Point class). Taking the example from the paper (https://github.com/svenvc/docs/blob/master/neo/neo-json-paper.md <https://github.com/svenvc/docs/blob/master/neo/neo-json-paper.md>): (NeoJSONReader on: ’null' readStream) mapInstVarsFor: Point; nextAs: Point. Is there a way to adapt the above snippet so that it evaluates to ‘nil’ instead of resulting in an error? I ask because I am parsing an API response which sometimes contains a “null” field, and sometimes a JSON object for that field. Thanks.