get Collection As Json
This function requests a collection result by content alias as a json string
returns result either through callback interface or livedata
Return
LiveData subscribe to this livedata for successful results (or use callback interface) Note: this returns the same live data as all other '..AsJson' calls, so can subscribe directly to jsonLiveData once
Parameters
Content Alias
Callback interface for optional callback
override ArcXPContentCallback.onGetJsonSuccess for success
override ArcXPContentCallback.onError for failure
or leave null and use livedata result and error livedata
index in which to start (ie for pagination, you may want to start at index for next page)
number of entries to request: (valid range VALID_COLLECTION_SIZE_RANGE, will coerce parameter into this range if it is outside)