cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumJsonReader::ReadJsonResult< T > Struct Template Reference

The result of JsonReader::readJson. More...

#include <CesiumJsonReader/JsonReader.h>

Public Attributes

std::optional< T > value
 The value read from the JSON, or std::nullopt on error.
 
std::vector< std::string > errors
 Errors that occurred while reading.
 
std::vector< std::string > warnings
 Warnings that occurred while reading.
 

Detailed Description

template<typename T>
struct CesiumJsonReader::ReadJsonResult< T >

The result of JsonReader::readJson.

Definition at line 23 of file JsonReader.h.

Member Data Documentation

◆ errors

template<typename T >
std::vector<std::string> CesiumJsonReader::ReadJsonResult< T >::errors

Errors that occurred while reading.

Definition at line 32 of file JsonReader.h.

◆ value

template<typename T >
std::optional<T> CesiumJsonReader::ReadJsonResult< T >::value

The value read from the JSON, or std::nullopt on error.

Definition at line 27 of file JsonReader.h.

◆ warnings

template<typename T >
std::vector<std::string> CesiumJsonReader::ReadJsonResult< T >::warnings

Warnings that occurred while reading.

Definition at line 37 of file JsonReader.h.


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