JSON Parser Xojo plugin

EinhugurJSON.JSONParseResult Class (console safe)

Class that represents result from the JSON parser. It will contain the JSON elements and error information if there was error when parsing the JSON.

Instance of this class can only be constructed by the Parse shared method on the JSONPrimitive class.

Object
   JSONParseResult

class EinhugurJSON.JSONParseResult

Constructors

JSONParseResultA private constructor. Instance of this class can only be constructed by the Parse shared method on the JSONPrimitive class.

Properties

CouldNotConvertToUTF8Returns true if the passed in string could not be converted to UTF8
ErrorColumnReturns column where the error is located in the JSON text document.
ErrorLineReturns line where the error is located in the JSON text document.
ErrorPositionReturns character position from start of the document where the error is located in the JSON text document.
ErrorSourceReturns some JSON code around and at the error.
ErrorTextDescription of the error.
RootReturns the parsed JSON tree as object model or nil if there was parse error.

Supported Platforms:

  • macOS Intel 32 bit
  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS