VSS.JSON.Pull_Readers

Entities

Simple Types

Interface Types

Subprograms

Description

Abstract API of the JSON "pull" reader.

At_End

function At_End (Self : JSON_Pull_Reader) return Boolean
Parameters
Self
Return Value

Clear

procedure Clear (Self : in out JSON_Pull_Reader)
Parameters
Self

Error

function Error
  (Self : JSON_Pull_Reader) return JSON_Reader_Error
Parameters
Self
Return Value

Error_Message

function Error_Message
  (Self : JSON_Pull_Reader) return VSS.Strings.Virtual_String
Parameters
Self
Return Value

Has_Error

function Has_Error (Self : JSON_Pull_Reader'Class) return Boolean
Parameters
Self
Return Value

JSON_Pull_Reader

type JSON_Pull_Reader is limited interface
  and VSS.JSON.Streams.Cursors.JSON_Stream_Cursor;

JSON_Reader_Error

type JSON_Reader_Error is
  (No_Error,
   Custom_Error,
   Not_Valid,
   Premature_End_Of_Document);
Enumeration Literal
No_Error
Custom_Error
Not_Valid
Premature_End_Of_Document

Raise_Error

procedure Raise_Error
  (Self    : in out JSON_Pull_Reader;
   Message : VSS.Strings.Virtual_String := VSS.Strings.Empty_Virtual_String)
Parameters
Self
Message

Read_Next

function Read_Next
  (Self : in out JSON_Pull_Reader)
   return VSS.JSON.Streams.JSON_Stream_Element_Kind
Parameters
Self
Return Value

Read_Next

procedure Read_Next (Self : in out JSON_Pull_Reader'Class)
Parameters
Self

Skip_Current_Array

procedure Skip_Current_Array (Self : in out JSON_Pull_Reader)
Parameters
Self

Skip_Current_Object

procedure Skip_Current_Object
  (Self : in out JSON_Pull_Reader)
Parameters
Self

Skip_Current_Value

procedure Skip_Current_Value (Self : in out JSON_Pull_Reader)
Parameters
Self