Avrogen.Utils.MacroUtils (avrogen v1.1.0)

Copy Markdown View Source

Utilities for working with code generation for the Avro schemas

Summary

Functions

This function flattens blocks of code together to avoid additional nesting and strange behaviour in generated code.

This macro generated the implementation of Jason.Encoder which skips the encoding of nil valued fields.

Functions

flatten_block(ast)

This function flattens blocks of code together to avoid additional nesting and strange behaviour in generated code.

jason_decode_skip_null_impl(type)

(macro)

This macro generated the implementation of Jason.Encoder which skips the encoding of nil valued fields.