All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
nlohmann::detail::json_sax_acceptor< BasicJsonType > Class Template Reference

#include <json.hpp>

Public Types

using number_integer_t = typename BasicJsonType::number_integer_t
 
using number_unsigned_t = typename BasicJsonType::number_unsigned_t
 
using number_float_t = typename BasicJsonType::number_float_t
 
using string_t = typename BasicJsonType::string_t
 

Public Member Functions

bool null ()
 
bool boolean (bool)
 
bool number_integer (number_integer_t)
 
bool number_unsigned (number_unsigned_t)
 
bool number_float (number_float_t, const string_t &)
 
bool string (string_t &)
 
bool start_object (std::size_t=std::size_t(-1))
 
bool key (string_t &)
 
bool end_object ()
 
bool start_array (std::size_t=std::size_t(-1))
 
bool end_array ()
 
bool parse_error (std::size_t, const std::string &, const detail::exception &)
 

Detailed Description

template<typename BasicJsonType>
class nlohmann::detail::json_sax_acceptor< BasicJsonType >

Definition at line 4940 of file json.hpp.

Member Typedef Documentation

template<typename BasicJsonType>
using nlohmann::detail::json_sax_acceptor< BasicJsonType >::number_float_t = typename BasicJsonType::number_float_t

Definition at line 4945 of file json.hpp.

template<typename BasicJsonType>
using nlohmann::detail::json_sax_acceptor< BasicJsonType >::number_integer_t = typename BasicJsonType::number_integer_t

Definition at line 4943 of file json.hpp.

template<typename BasicJsonType>
using nlohmann::detail::json_sax_acceptor< BasicJsonType >::number_unsigned_t = typename BasicJsonType::number_unsigned_t

Definition at line 4944 of file json.hpp.

template<typename BasicJsonType>
using nlohmann::detail::json_sax_acceptor< BasicJsonType >::string_t = typename BasicJsonType::string_t

Definition at line 4946 of file json.hpp.

Member Function Documentation

template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::boolean ( bool  )
inline

Definition at line 4953 of file json.hpp.

4954  {
4955  return true;
4956  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::end_array ( )
inline

Definition at line 4998 of file json.hpp.

4999  {
5000  return true;
5001  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::end_object ( )
inline

Definition at line 4988 of file json.hpp.

4989  {
4990  return true;
4991  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::key ( string_t )
inline

Definition at line 4983 of file json.hpp.

4984  {
4985  return true;
4986  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::null ( )
inline

Definition at line 4948 of file json.hpp.

4949  {
4950  return true;
4951  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::number_float ( number_float_t  ,
const string_t  
)
inline

Definition at line 4968 of file json.hpp.

4969  {
4970  return true;
4971  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::number_integer ( number_integer_t  )
inline

Definition at line 4958 of file json.hpp.

4959  {
4960  return true;
4961  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::number_unsigned ( number_unsigned_t  )
inline

Definition at line 4963 of file json.hpp.

4964  {
4965  return true;
4966  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::parse_error ( std::size_t  ,
const std::string ,
const detail::exception  
)
inline

Definition at line 5003 of file json.hpp.

5004  {
5005  return false;
5006  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::start_array ( std::size_t  = std::size_t(-1))
inline

Definition at line 4993 of file json.hpp.

4994  {
4995  return true;
4996  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::start_object ( std::size_t  = std::size_t(-1))
inline

Definition at line 4978 of file json.hpp.

4979  {
4980  return true;
4981  }
template<typename BasicJsonType>
bool nlohmann::detail::json_sax_acceptor< BasicJsonType >::string ( string_t )
inline

Definition at line 4973 of file json.hpp.

4974  {
4975  return true;
4976  }

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