xrpld
Loading...
Searching...
No Matches
json::Writer::Impl::Collection Struct Reference
Collaboration diagram for json::Writer::Impl::Collection:

Public Attributes

Writer::CollectionType type = Writer::CollectionType::Array
 What type of collection are we in?
bool isFirst = true
 Is this the first entry in a collection?
std::set< std::stringtags {}
 What tags have we already seen in this collection?

Detailed Description

Definition at line 200 of file libxrpl/json/Writer.cpp.

Member Data Documentation

◆ type

Writer::CollectionType json::Writer::Impl::Collection::type = Writer::CollectionType::Array

What type of collection are we in?

Definition at line 203 of file libxrpl/json/Writer.cpp.

◆ isFirst

bool json::Writer::Impl::Collection::isFirst = true

Is this the first entry in a collection?

If false, we have to emit a , before we write the next entry.

Definition at line 207 of file libxrpl/json/Writer.cpp.

◆ tags

std::set<std::string> json::Writer::Impl::Collection::tags {}

What tags have we already seen in this collection?

Definition at line 211 of file libxrpl/json/Writer.cpp.