gwg/vec_json
Archived
2
0
Fork
You've already forked vec_json
0
↗️ 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%
2026年06月12日 17:41:51 +07:00
src/vec feat: Updated to v4.0.0. 2025年09月25日 20:28:17 +07:00
test feat: Updated to v4.0.0. 2025年09月25日 20:28:17 +07:00
.gitignore feat: Init. 2025年06月17日 16:24:40 +07:00
gleam.toml feat: Deprecated. 2026年06月12日 17:41:51 +07:00
manifest.toml feat: Deprecated. 2026年06月12日 17:41:51 +07:00
README.md feat: Deprecated. 2026年06月12日 17:37:00 +07:00

Warning

This library is deprecated and not recommended to use. Please use the vec*.to_string() function instead.

vec_json

Package Version Hex Docs

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.