Module api_json

JSON API for transactional, consistent access to replicated DHT items.

Copyright © 2011 Zuse Institute Berlin

Version: $Id$

Authors: Florian Schintke (schintke@zib.de).

Description

JSON API for transactional, consistent access to replicated DHT items

Function Index

handler/2
tuple_list_to_json/1Recursively converts 2-tuple lists to JSON objects.

Function Details

handler/2

handler(AnyOp :: atom(), AnyParams :: list()) -> any()

tuple_list_to_json/1

tuple_list_to_json(List :: [{Key :: atom(), Value :: term()}]) ->
                      {struct, [{Key :: atom(), Value :: term()}]}

Recursively converts 2-tuple lists to JSON objects.


Generated by EDoc, Sep 11 2020, 15:24:37.