FIMS  v0.8.0
Loading...
Searching...
No Matches
fims_json.hpp File Reference

A simple JSON parsing and generation library. More...

#include <cctype>
#include <iostream>
#include <fstream>
#include <map>
#include <sstream>
#include <string>
#include <algorithm>
#include <vector>

Go to the source code of this file.

Classes

class  fims::JsonValue
 
class  fims::JsonParser
 

Typedefs

using fims::JsonObject = std::map< std::string, JsonValue >
 
using fims::JsonArray = std::vector< JsonValue >
 

Enumerations

enum  fims::JsonValueType {
  fims::Null = 0 , fims::Number , fims::String , fims::Bool ,
  fims::Object , fims::JArray
}
 

Detailed Description

A simple JSON parsing and generation library.

This library provides classes and functions for parsing JSON strings and generating JSON data structures.

Typedef Documentation

◆ JsonArray

Alias for a JSON array, containing a sequence of JSON values.

◆ JsonObject

using fims::JsonObject = typedef std::map<std::string, JsonValue>

Alias for a JSON object, mapping strings to JSON values.

Enumeration Type Documentation

◆ JsonValueType

Represents different types of JSON values.

Enumerator
Null 

Null JSON value.

Number 

Numeric JSON value.

String 

String JSON value.

Bool 

Boolean JSON value.

Object 

JSON object.

JArray 

JSON array.