载入中...
搜索中...
未找到
类 | |
| class | Document |
| EVENGINE_API_FOUNDATION public API. 更多... | |
| struct | Node |
| class | Value |
| EVENGINE_API_FOUNDATION public API. 更多... | |
函数 | |
| Result< std::string > | stringify (const eve::Value &value) |
| Serialize the canonical owning Value as deterministic compact JSON. | |
函数说明
◆ stringify()
| EVENGINE_API_FOUNDATION Result< std::string > eve::json::stringify | ( | const eve::Value & | value | ) |
Serialize the canonical owning Value as deterministic compact JSON.
- 参数
-
value Owning value containing only JSON-compatible kinds.
- 返回
- JSON text, or SerializationError when a Double is NaN or infinity.
- 备注
- Object keys are emitted in lexicographic order. This is the single canonical JSON serializer used by owning Value adapters.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), output, eve::SerializationError, eve::Result< T >::success() , 以及 value.
被这些函数引用 eve::Value::toJson().