PreferJSONNavigator property (NotesHTTPRequest - LotusScript)

It is a Boolean value that can be set to either True or False. By default, it is set to False.

Defined in

NotesHTTPrequest

When set to True, NotesHTTPRequest returns a NotesJSONNavigator object. Unlike the PreferUTF8 property, there is no limitation on the size of the output when using PreferJSONNavigator.

Example

Dim session As New NotesSession
Dim httpreq As NotesHTTPRequest
Dim jsonNav As NotesJSONNavigator
Dim baRet As Variant
Dim url As String

url = "yourURL"
Set httpreq = session.CreateHTTPRequest()
httpreq.Preferjsonnavigator = True
Set jsonNav = httpreq.Get(url)