Interface IgoJsonWriter
Unit
Grijjy.Bson.IO
Declaration
type IgoJsonWriter = interface(IgoBsonBaseWriter)
Description
Interface for writing BSON values to JSON format. See TgoJsonWriter for the stock implementation of this interface.
Attributes
- GUID['{92F5BA20-02C9-401C-8403-B51F8898E692}']
Hierarchy
Overview
Methods
Description
Methods
|
function ToJson: String; |
Returns the currently written data as a JSON string.
Note: you usually call this method when you have finished writing a BSON Document or value
Returns
The data in JSON format. |
|
procedure WriteRaw(const AValue: String); |
Inserts a raw value into the current JSON string.
Note: no JSON syntax checking is performed. The value will be written as-is, and generate invalid JSON of not used carefully. You usually never call this method yourself.
Parameters
- AValue
- the value to write.
|
Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26
|