proofgeist / fm-json-additions

MIT License
27 stars 12 forks source link

JSON.ContainsProperty only handles single level #3

Closed rwu2359 closed 7 years ago

rwu2359 commented 7 years ago

JSON.ContainsProperty will not see key when path is

JSON.ContainsProperty ( Test::JSON ; "post.body" )
or
JSON.ContainsProperty ( Test::JSON ; "post.body.item" )

amended file and tests attached

JSONAdditions.fmp12.zip

toddgeist commented 7 years ago

Thanks so much for taking the time to do this. I'd love to include this. However as written it breaks three tests. Any chance you can fix that? failing tests

rwu2359 commented 7 years ago

That's wierd as I only submitted after passing tests at this end...

screen shot 2017-05-16 at 18 12 28

I had deleted the zip in the post and then re-uploaded it, maybe that gave you the older one.. Try this.

JSONAdditions.fmp12.zip

toddgeist commented 7 years ago

Well this explains it image

toddgeist commented 7 years ago

I was running the Damn thing in FileMaker 15

UHGGHHHBHH

any how this looks good we'll get it in place

Thank you