Open
Description
Hi,
I'm trying to use json logic scala for very common case which is accessing field in nested data object.
I have the following data structure:
{ "booking" : { "ref" : 123 }, "test" : 666 }
And the following rule:
{ "<" : [ { "var" : "booking.ref", "type" : { "codename" : "int" } }, { "var" : "test", "type" : { "codename" : "int" } } ] }
Deserialization fails becasue I don't have "booking.ref" field in my data strucutre but I do have booking \ ref.
Does that mean json-logic-scala can only handle root level data fields?
When I change "booking": { "ref":"..." } to "booking.ref" : 444 it works but it's really not what I need.