|
Symbian platform (C++)
SDK native APIs, runtime and tooling
|
#include "symbian/status/json_codec.h"#include <bit>#include <cstddef>#include <cstdint>#include <limits>#include <string>#include <string_view>#include <vector>#include <absl/status/status.h>#include <absl/status/status_macros.h>#include <absl/status/statusor.h>#include <absl/strings/str_cat.h>#include <nlohmann/json.hpp>#include "symbian/status/utf8.h"Namespaces | |
| namespace | symbian |
Functions | |
| absl::StatusOr< Json > | symbian::ParseJson (std::string_view encoded, std::string_view what) |
| Parses JSON text, or explains why it is not JSON. | |
| bool | symbian::IsValidUtf8 (std::string_view text) |
Whether text is valid UTF-8. | |
| const Json * | symbian::FindUnencodableString (const Json &value) |
| absl::StatusOr< std::string > | symbian::DumpJson (const Json &value, std::string_view what) |
| std::string | symbian::DumpJsonLossy (const Json &value) |
| absl::StatusOr< std::string > | symbian::PackMsgpack (const Json &value, std::string_view what) |
| absl::StatusOr< Json > | symbian::UnpackMsgpack (std::string_view encoded, std::string_view what) |
| Decodes MessagePack bytes, or explains why they are not. | |