↗️ Vectors-to-JSON for Gleam
https://vec-json.hexdocs.pm
This repository has been archived on 2026年06月12日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
- Gleam 100%
| src/vec | feat: Updated to v4.0.0. | |
| test | feat: Updated to v4.0.0. | |
| .gitignore | feat: Init. | |
| gleam.toml | feat: Deprecated. | |
| manifest.toml | feat: Deprecated. | |
| README.md | feat: Deprecated. | |
Warning
This library is deprecated and not recommended to use. Please use the
vec*.to_string()function instead.
vec_json
This is JSON support for the vec library.
Installation
gleam add vec_json
importgleam/jsonimportvec/vec3.{Vec3}importvec/vec_jsonpubfnmain(){Vec3(2,4,0)|>vec_json.vec3_to_json(json.int)// -> { x: 2, y: 4, z: 0 }
}Further documentation can be found at https://hexdocs.pm/vec_json.