tvl-depot/tvix/docs/src
Bob van der Linden 9aa479648b refactor(tvix/eval): remove Value::Json and related functionality
Currently Value::Json is used in combination with VMRequest::ToJson to
recursively convert tvix Value to serde_json::Value. This functionality
is used in builtins.toJSON as well as derivation __structuredAttrs.

Both Value::Json and VMRequest::ToJson were removed in this commit.

Related functionality in vm.rs is also removed: vm.rs does not know
about JSON anymore.

Recursively converting to serde_json now happens without going through
the VM.

Thrown errors that are part of the value of toJSON are now directly
propagated as ErrorKind, were-as previously there was a split between
CatchableErrorKind and ErrorKind, where eventually CatchableErrorKind
would be converted to ErrorKind::Catchable.

Change-Id: I066f064926c491e4c087a984f07af43d19124cfe
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12732
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-11-04 10:39:19 +00:00
..
build docs(tvix): document the builder API 2024-07-21 21:35:22 +00:00
castore docs(tvix/*store): add some internal links 2024-06-15 03:56:11 +00:00
contributing docs(tvix/contributing): remove reference to b/201 2024-09-03 15:17:30 +00:00
eval docs(tvix): use # for toplevel headings 2024-06-26 14:22:19 +00:00
figures feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
nix-daemon chore(tvix/docs): Small changes to Nix Daemon protocol description 2024-11-03 20:49:19 +00:00
store chore(tvix): drop nar-bridge-go 2024-07-30 14:36:31 +00:00
architecture.md feat(tvix/docs): add mdbook-admonish 2024-06-14 07:04:23 +00:00
community.md docs(tvix): introduction 2024-07-04 14:18:09 +00:00
getting-started.md docs(tvix): create Welcome + Contributing sections 2024-06-27 07:16:23 +00:00
introduction.md docs(tvix): introduction 2024-07-04 14:18:09 +00:00
lang-version.md feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
language-spec.md docs: use admonish for callouts 2024-06-21 08:08:17 +00:00
SUMMARY.md docs(tvix): document the builder API 2024-07-21 21:35:22 +00:00
TODO.md refactor(tvix/eval): remove Value::Json and related functionality 2024-11-04 10:39:19 +00:00
value-pointer-equality.md docs: use admonish for callouts 2024-06-21 08:08:17 +00:00