Copyright (C) 2021, AdaCore
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
function Error_Message
(Self : JSON_Simple_Push_Reader'Class) return VSS.Strings.Virtual_String
Return text of the last detected error.
function Has_Error (Self : JSON_Simple_Push_Reader'Class) return Boolean
Return True when some error is detected by the parser of reported by the handlers.
type JSON_Simple_Push_Reader is
limited new VSS.JSON.Push_Readers.JSON_Push_Reader
with private;
procedure Parse (Self : in out JSON_Simple_Push_Reader'Class)
Parse all available data and return. It can be called again when non-blocking text stream is used and new data is available.
procedure Set_Stream
(Self : in out JSON_Simple_Push_Reader'Class;
Stream : not null VSS.Text_Streams.Input_Text_Stream_Access)
Set text stream to be used to obtain data.