Module json

Data Types

json()

json() = #{binary() => json()} | [json()] | integer() | float() | binary() | true | false | null

path()

path() = binary() | [atom() | integer() | binary()]

state()

state() = [any()]

Function Index

add/2
add/3
apply/2
apply/3
copy/2
copy/3
filter/3
fold/2
from_binary/1
from_list/1
get/1
get/2
handle_event/2
init/1
keys/2
minify/1
move/2
move/3
patch/2
prettify/1
remove/1
remove/2
replace/2
replace/3
test/2
test/3
to_binary/1
to_list/1

Function Details

add/2

add(Path::path(), Value::json()) -> fun((JSON::json()) -> json())

add/3

add(Path::path(), Value::json(), JSON::json()) -> json()

apply/2

apply(Path::path(), Fun::function()) -> fun((JSON::json()) -> json())

apply/3

apply(Path::path(), Fun::function(), JSON::json()) -> json()

copy/2

copy(From::path(), To::path()) -> fun((JSON::json()) -> json())

copy/3

copy(From::path(), To::path(), JSON::json()) -> json()

filter/3

filter(JSON::json(), Module::module(), InitialState::any()) -> any()

fold/2

fold(Funs::[function()], JSON::json()) -> json()

from_binary/1

from_binary(JSON::binary()) -> json()

from_list/1

from_list(List::list()) -> json()

get/1

get(Path::path()) -> fun((JSON::json()) -> json())

get/2

get(Path::path(), JSON::json()) -> json()

handle_event/2

handle_event(Event::any(), State::state()) -> state()

init/1

init(X1::[]) -> state()

keys/2

keys(Path::path(), JSON::json()) -> [binary()]

minify/1

minify(JSON::binary()) -> binary()

move/2

move(From::path(), To::path()) -> fun((JSON::json()) -> json())

move/3

move(From::path(), To::path(), JSON::json()) -> json()

patch/2

patch(Ops::[map()], JSON::json()) -> json()

prettify/1

prettify(JSON::binary()) -> binary()

remove/1

remove(Path::path()) -> fun((JSON::json()) -> json())

remove/2

remove(Path::path(), JSON::json()) -> json()

replace/2

replace(Path::path(), Value::json()) -> fun((JSON::json()) -> json())

replace/3

replace(Path::path(), Value::json(), JSON::json()) -> json()

test/2

test(Path::path(), Value::json()) -> fun((JSON::json()) -> json())

test/3

test(Path::path(), Value::json(), JSON::json()) -> json()

to_binary/1

to_binary(JSON::json()) -> binary()

to_list/1

to_list(JSON::json()) -> list()


Generated by EDoc