Yson.Schema.value
You're seeing just the macro
value
, go back to Yson.Schema module for more information.
Defines a simple field.
Example
value(:referenced)
You can also specify custom resolver to parse data. It can be either a reference or an anonymous function.
Example
value(:name, &String.reverse/1)