1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-11 19:41:04 +01:00
nix/doc/manual/source/protocols/json
John Ericson 61de9222b0 Use SRI hash (strings) as the official JSON format for Hash after all
The fact that we were introducing a conversion from the output of `nix
path-info` into the input of `builtins.fetchTree` was the deciding
factor. We want scripting outputs into inputs like that to be easy.

Since JSON strings and objects are trivially distinguishable, we still
have the option of introducing the JSON format as an alternative input
scheme in the future, should we want to. (The output format would still
be SRI in that case, presumably.)
2025-12-08 16:50:25 -05:00
..
derivation Organize some test JSON better to prevent confusion 2025-12-05 19:37:07 -05:00
schema Use SRI hash (strings) as the official JSON format for Hash after all 2025-12-08 16:50:25 -05:00
build-result.md JSON Impl and schema for BuildResult 2025-11-03 18:25:16 -05:00
build-trace-entry.md JSON Schema for build trace entry 2025-11-03 15:59:50 -05:00
content-address.md nlohmann::json instance and JSON Schema for ContentAddress 2025-10-27 14:47:50 -04:00
deriving-path.md JSON Schema for DerivedPath 2025-10-24 12:08:00 -04:00
file-system-object.md nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
fixup-json-schema-generated-doc.sed Move derivation JSON doc to index.md in dir 2025-11-24 15:23:50 -05:00
hash.md Use SRI hash (strings) as the official JSON format for Hash after all 2025-12-08 16:50:25 -05:00
index.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
json-schema-for-humans-config.yaml Add JSON Schema infrastructure, use for Derivation 2025-10-16 17:24:18 -04:00
meson.build doc: make HTML manual build optional 2025-12-06 22:35:45 +01:00
store-object-info.md Introduce --json-format for nix path-info 2025-12-03 22:04:21 -05:00
store-path.md Convert store path info JSON docs to formal JSON Schema, and test 2025-10-28 23:28:16 -04:00
store.md JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00