TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ parse() [1/3]

template<template< typename U, typename V, typename... Args > class ObjectType = std::map, template< typename U, typename... Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator, template< typename T, typename SFINAE=void > class JSONSerializer = adl_serializer, class BinaryType = std::vector<std::uint8_t>>
static JSON_HEDLEY_WARN_UNUSED_RESULT basic_json nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::parse ( detail::span_input_adapter &&  i,
const parser_callback_t  cb = nullptr,
const bool  allow_exceptions = true,
const bool  ignore_comments = false 
)
inlinestatic

Definition at line 24656 of file json.hpp.

24660 {
24661 basic_json result;
24662 parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result);
24663 return result;
24664 }
basic_json(const value_t v)
create an empty value with a given type
Definition: json.hpp:19164