On Wed, Jul 26, 2017 at 12:09 PM, Benedict, Tom via 4D_Tech < 4d_tech@lists.4d.com> wrote:
> David Adams dpad...@gmail.com<mailto:dpad...@gmail.com> writes: > > >Well, 4D's tools for manipulating JSON are sub-standard, if your goal is > to parse/produce JSON freely. In this respect, the XML tools (external > libraries built into 4D) are far more standard and comprehensive. > > Along these lines, is there a stable and maintained library for querying > JSON similar to XPath? I looked for one a few years ago when I was > developing my Simple Rules Engine but found that there wasn't anything > mature yet, so I stuck with XML/XPath. > > This page http://orangevolt.blogspot.com/2012/12/8-ways-to-query- > json-structures.html#!/2012/12/8-ways-to-query-json-structures.html > mentions a number of tools. Anyone have any experience integrating them > with 4D? > > Note that 4D objects may not be internally not implemented as JSON data, but (probably) like hash table - something like std::map. These as standard does not support even simple constucts like chained keys (anObject.subObject.subsubObject.property.) -- Peter Bozek ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************