[json2lambda]

json2lambda is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Transforms JSON into a lambda hierarchy.

  • Value (json), required: JSON text to transform
  • Returns: Resolves to the parsed lambda hierarchy as child nodes

Guide

How to use json2lambda

JSON declaration

This is the complete declaration of json2lambda, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "json2lambda",
  "description": "Transforms JSON into a lambda hierarchy",
  "signature": {
    "input": {
      "kind": "json",
      "description": "JSON text to transform",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Lambda",
      "kind": "lambda-tree",
      "description": "Resolves to the parsed lambda hierarchy as child nodes"
    }
  }
}

← join all core slots json2lambda-stream →