1ASON_ASPRINT(3)                  User Manuals                  ASON_ASPRINT(3)
2
3
4

NAME

6       ason_asprint, ason_asprint_unicode - Convert ason_t values to strings.
7

SYNOPSIS

9       #include <ason/ason.h>
10       #include <ason/print.h>
11
12       char *ason_asprint(ason_t *value);
13       char *ason_asprint_unicode(ason_t *value);
14

DESCRIPTION

16       ason_asprint converts a value of type ason_t into a human readable tex‐
17       tual ASON representation.  ason_asprint_unicode is the same, except the
18       returned  type is always UTF-8 encoded, and makes full use of the char‐
19       acter set, whereas ason_asprint endeavors to be locale-safe.
20

RETURN VALUE

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

SEE ALSO

25       ason(3) ason_values(3)
26

AUTHOR

28       Casey Dahlin <casey.dahlin@gmail.com>
29
30
31
32
33
34Linux                            JANUARY 2014                  ASON_ASPRINT(3)
Impressum