ason_asprint - Man Page

Convert ason_t values to strings.

Synopsis

#include <ason/ason.h>
#include <ason/print.h>

char *ason_asprint(ason_t *value);
char *ason_asprint_unicode(ason_t *value);

Description

ason_asprint converts a value of type ason_t into a human readable textual ASON representation. ason_asprint_unicode is the same, except the returned type is always UTF-8 encoded, and makes full use of the character set, whereas ason_asprint endeavors to be locale-safe.

Return Value

All functions should always return a valid pointer to char *.

See Also

ason(3) ason_values(3)

Author

Casey Dahlin <casey.dahlin@gmail.com>

Referenced By

ason(3).

The man page ason_asprint_unicode(3) is an alias of ason_asprint(3).

JANUARY 2014 Linux User Manuals