VSS.JSON.Push_Writers

Entities

Tagged Types

Subprograms

Description

Copyright (C) 2020-2021, AdaCore

SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

JSON_Simple_Push_Writer

type JSON_Simple_Push_Writer is
  limited new VSS.JSON.Content_Handlers.JSON_Content_Handler
    with private;

Set_Stream

procedure Set_Stream
  (Self   : in out JSON_Simple_Push_Writer'Class;
   Stream : not null VSS.Text_Streams.Output_Text_Stream_Access)

Sets output text stream to be used to generate JSON document. Change of the stream is effective only before call to Start_Document.

Parameters
Self
Stream