![]() |
TSDuck v3.46-4930
MPEG Transport Stream Toolkit
|
Classes | |
| class | Array |
| class | False |
| class | Null |
| class | Number |
| class | Object |
| class | OutputArgs |
| class | RunningDocument |
| class | String |
| class | True |
| class | Value |
| class | YAML |
Typedefs | |
| using | ValuePtr = std::shared_ptr<Value> |
| using | ValuePtrList = std::list<ValuePtr> |
| using | ValuePtrVector = std::vector<ValuePtr> |
Enumerations | |
| enum class | Type { Type::Null , Type::True , Type::False , Type::String , Type::Number , Type::Object , Type::Array } |
Functions | |
| ValuePtr | Bool (bool value) |
| ValuePtr | Factory (Type type, const UString &value=UString()) |
| bool | IsInlineJSON (const UString &name) |
| bool | LoadFile (ValuePtr &value, const UString &filename, Report &report=(ts::NullReport::Instance()), size_t max_nested=DEFAULT_MAX_NESTED) |
| bool | LoadStream (ValuePtr &value, std::istream &strm, Report &report=(ts::NullReport::Instance()), size_t max_nested=DEFAULT_MAX_NESTED) |
| bool | Parse (ValuePtr &value, const UString &text, Report &report=(ts::NullReport::Instance()), size_t max_nested=DEFAULT_MAX_NESTED) |
| bool | Parse (ValuePtr &value, const UStringList &lines, Report &report=(ts::NullReport::Instance()), size_t max_nested=DEFAULT_MAX_NESTED) |
| bool | Parse (ValuePtr &value, TextParser &parser, bool jsonOnly, Report &report=(ts::NullReport::Instance()), size_t max_nested=DEFAULT_MAX_NESTED) |
| const Names & | TypeEnum () |
Variables | |
| static constexpr size_t | DEFAULT_MAX_NESTED = 256 |
| Null | NullValue |
Namespace for JSON (JavaScript Object Notation) classes.