magic.lambda.json

This project provides JSON helper slots for Magic. More specifically, it provides the following slots.

  • [json2lambda] - Creates a lambda object out of a JSON input string.
  • [json2lambda-stream] - Creates a lambda object out of JSON read from a stream.
  • [json2yaml] - Converts a JSON string to its YAML equivalent.
  • [yaml2lambda] - Creates a lambda object out of a YAML input string.
  • [yaml2json] - Creates a JSON string out of a YAML input string.
  • [lambda2json] - Creates JSON out of a lambda object.
  • [lambda2yaml] - Converts a lambda object to its YAML equivalent.
  • [.lambda2json-raw] - Transforms a lambda object to a compact JSON string, used internally by the endpoint executor and the exception handler. (private C# slot)