element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
jelly · v1.0.2

jelly

Package Version Hex Docs Latest CI

JSON parsing library for arbitrary JSON structures

gleam add jelly@1
import gleam/io
import jelly

pub fn main() {
  // {
  //   "foo": "bar"
  // }
  let assert Ok(json) = jelly.parse("{ \"foo\": \"bar\" }")
  let assert Ok(jelly.String(foo)) = jelly.path(json, "foo")
  io.print(foo) // "bar"
}

Further documentation can be found at https://hexdocs.pm/jelly.

Development

gleam run   # Run the project
gleam test  # Run the tests
Search Document