Text.Json API inventory
Provides JSON documents, nodes, readers, writers, serializers, options, converters, metadata, and JSON exceptions over a native JSON backend.
Ownership and selection
| Fact | Pinned value |
|---|---|
| Physical owner | modules/text-json |
| CMake target | SharpRuntime::Text.Json |
| Component kind | static |
| Direct production dependencies | Core.Base, Text, Collections.Core (private) |
| External dependency | None |
| Public headers | 37 |
| Production sources | 3 |
Select the component
set(SHARP_RUNTIME_COMPONENTS Text.Json)
set(SHARP_RUNTIME_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory(sharp-runtime)
target_link_libraries(app PRIVATE SharpRuntime::Text.Json)Compatibility and platform notes
Portable header-heavy API backed by vendored nlohmann JSON. Matching type names do not imply complete System.Text.Json converter, metadata, or source-generation parity.
Implementation-status evidence
The owning module contains 9 C++ test sources and participates in a physical component test executable. Source-file count is not a discovered-test count.
This page deliberately reports source and test topology instead of a hand-authored Done/Partial maturity badge. Consult limitations and subsystem documentation for material behavioral reductions.
Public header and entry inventory
This complete list is derived from modules/text-json/include. Each filename is a public discovery entry; it may declare more than one type, and it does not imply method-level .NET parity.
System::Text::Json16 public headers
System/Text/Json/JsonCommentHandling.hppSystem/Text/Json/JsonDocument.hppSystem/Text/Json/JsonDocumentOptions.hppSystem/Text/Json/JsonElement.hppSystem/Text/Json/JsonEncodedText.hppSystem/Text/Json/JsonException.hppSystem/Text/Json/JsonNamingPolicy.hppSystem/Text/Json/JsonProperty.hppSystem/Text/Json/JsonReaderOptions.hppSystem/Text/Json/JsonSerializer.hppSystem/Text/Json/JsonSerializerDefaults.hppSystem/Text/Json/JsonSerializerOptions.hppSystem/Text/Json/JsonTokenType.hppSystem/Text/Json/JsonValueKind.hppSystem/Text/Json/JsonWriterOptions.hppSystem/Text/Json/Utf8JsonWriter.hpp
System::Text::Json::Nodes5 public headers
System::Text::Json::Serialization13 public headers
System/Text/Json/Serialization/JsonConverter.hppSystem/Text/Json/Serialization/JsonConverterFactory.hppSystem/Text/Json/Serialization/JsonKnownNamingPolicy.hppSystem/Text/Json/Serialization/JsonNumberHandling.hppSystem/Text/Json/Serialization/JsonObjectCreationHandling.hppSystem/Text/Json/Serialization/JsonOnSerializationInterfaces.hppSystem/Text/Json/Serialization/JsonSerializationAttributes.hppSystem/Text/Json/Serialization/JsonStringEnumConverter.hppSystem/Text/Json/Serialization/JsonUnknownDerivedTypeHandling.hppSystem/Text/Json/Serialization/JsonUnknownTypeHandling.hppSystem/Text/Json/Serialization/JsonUnmappedMemberHandling.hppSystem/Text/Json/Serialization/ReferenceHandler.hppSystem/Text/Json/Serialization/ReferenceResolver.hpp