I believe all necessary work has been done on the JSONiq branch already: at least the methods isJSONItem(), getJSONItemKind(), getObjectPairs(), getArrayMembers(), getObjectValue(), getArrayMember(), getPairName(), and getPairValue() are exposed on zorba::Item. Some of these methods may need to be changed/renamed/revisited depending on the final decision about whether "pairs" are a first-class type or not.
I believe all necessary work has been done on the JSONiq branch already: at least the methods isJSONItem(), getJSONItemKind(), getObjectPairs(), getArrayMembers(), getObjectValue(), getArrayMember(), getPairName(), and getPairValue() are exposed on zorba::Item. Some of these methods may need to be changed/ renamed/ revisited depending on the final decision about whether "pairs" are a first-class type or not.