Public Member Functions | List of all members
sajson::literal Class Reference

#include <sajson.h>

Inheritance diagram for sajson::literal:
Inheritance graph
[legend]

Public Member Functions

template<size_t sz>
 literal (const char(&text_)[sz])
 
- Public Member Functions inherited from sajson::string
std::string as_string () const
 
const char * data () const
 
size_t length () const
 
 string (const char *text_, size_t length)
 

Detailed Description

A convenient way to parse JSON from a string literal. The string ends at its first NUL character.

Definition at line 248 of file sajson.h.

Constructor & Destructor Documentation

◆ literal()

template<size_t sz>
sajson::literal::literal ( const char(&)  text_[sz])
inlineexplicit

Definition at line 251 of file sajson.h.


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


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:23