Parses non standard JSON from an input stream and tries to convert it to a given type
Function parseAs
#include <matjson.hpp>std::istream&stream
,)source
Stream to parse
opts
Non standard parsing options
T
The type to convert to
The parsed struct or an error
ℹ Shorthand for Value::parse(...).as<T>()