Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to use HS.JSON.Path

Question
Mike Yackanich · Jan 11, 2021

How to use HS.JSON.Path

Has anyone used the ##class(HS.JSON.Path).%Evaluate() classmethod interrogate JSON and return a specific object value? I need to extract the MessageHeader.destination.endpoint value from a FHIR bundle and can't seem to get that XPath-like method to work.

#JSON #InterSystems IRIS for Health

Source URL:https://community.intersystems.com/post/how-use-hsjsonpath