PERRY v1.0.0
P-E-R-R-Y/PERRY helps creating games with a bunch of tools.
Loading...
Searching...
No Matches
serial::Node Class Reference

easy to Manage YAML, JSON, XAML and data serialization formats in C++. More...

#include <ISerial.hpp>

Public Types

using node_type = std::variant<bool, int, double, std::string, std::vector<Node>, std::map<std::string, Node>, void *>
 

Public Member Functions

 Node (node_type node)
 
bool isScalar ()
 
bool isSequence ()
 
bool isMap ()
 
bool isBool ()
 
bool isInt ()
 
bool isDouble ()
 
bool isString ()
 
bool isNull ()
 
Node operator[] (const std::string &key)
 
Node operator[] (const int &index)
 
template<typename T>
as ()
 

Public Attributes

node_type value
 

Detailed Description

easy to Manage YAML, JSON, XAML and data serialization formats in C++.


The documentation for this class was generated from the following file: