Module fieldmask

Data Types

mask()

mask() = '*' | {'*', mask()} | [submask()]

mask_expr()

mask_expr() = string() | binary()

type of mask expression. You may use a string or a binary as mask expression.

submask()

submask() = binary() | {binary(), mask()}

value()

value() = null | number() | boolean() | binary() | [value()] | #{binary() => value()}

type of a JSON value represented in jsone's map object format.

Function Index

apply_mask/2apply Mask in internal representation to a Value
mask/2select the parts specified in the Mask expression of a Value
parse/1parse the Mask expression to internal representation.

Function Details

apply_mask/2

apply_mask(Mask::mask(), Value::value()) -> value()

apply Mask in internal representation to a Value

mask/2

mask(Mask::mask_expr(), Value::value()) -> value()

select the parts specified in the Mask expression of a Value

parse/1

parse(Mask::mask_expr()) -> Result

parse the Mask expression to internal representation


Generated by EDoc