# json_mlake

> json_mlake, a magmalake tin: A packaged build of json by Ehsan M. Kermani — simdjson-backed JSON parsing for Mojo, CPU and GPU — republished only because json is not on a conda channel.

[magmalake](https://magmalake.dev/) [json\_mlake](https://magmalake.dev/s/json%5Fmlake)

A packaged build of json by Ehsan M. Kermani — simdjson-backed JSON parsing for Mojo, CPU and GPU — republished only because json is not on a conda channel. The code is upstream's; it is imported as json. Stars and issues belong upstream, at github.com/ehsanmok/json.

Install

mojoshelf:

```
pixi shelf add json_mlake
```

`pixi shelf` comes with mojoshelf: [install it first](https://mojoshelf.org/getting-started).

plain pixi:

```
pixi init app -c https://conda.modular.com/max -c conda-forge && cd app
sed -i.bak 's/^\[workspace\]/[workspace]\npreview = ["pixi-build"]/' pixi.toml
pixi add "mojo-compiler==1.2.0"
# Without mojoshelf: the tin as a git dependency at its published commit.
# Transitive dependencies may be wrong: pixi takes the tin's own git deps as
# pinned in its pixi.toml, which may not match what other tins pin, and then
# fails with "duplicate records". mojoshelf picks revisions that agree.
pixi add json_mlake --git https://github.com/magmalake/json_mlake --rev bcaa7161e757748a1310a213e123bf8810ff7e96
```

No mojoshelf needed. If pixi reports duplicate records, the mojoshelf tab picks revisions that agree.

Version

`0.4.3` on mojoshelf

Source

[GitHub](https://github.com/magmalake/json%5Fmlake) [README](https://github.com/magmalake/json%5Fmlake#readme)

## Works today

- Tracks upstream v0.4.2, with one source delta: the simdjson wrapper is found without CONDA\_PREFIX
- What k8s reads Kubernetes objects with, and what flare depends on
- Archived the day json is on a channel pixi can resolve

Checked against CI builds the package and consumes it from a clean project, on Linux and macOS

- [flare\_mlake](https://magmalake.dev/s/flare%5Fmlake) TCP · TLS · HTTP/1–3 · gRPC · ehsanmok/flare
- [mozz\_mlake](https://magmalake.dev/s/mozz%5Fmlake) fuzzing and property tests · ehsanmok/mozz
- [Every tin](https://magmalake.dev/tins)

[A magmalake project](https://magmalake.dev/)

MIT, as upstream
