Encode
This page has been automatically translated using the Google Translate API services. We are working on improving texts. Thank you for your understanding and patience.
Header
#include <encode/encode.h>
Functions
void | encode_start (void) |
void | encode_finish (void) |
Types and Constants
struct | Url |
struct | JsonOpts |
The Encode library groups the implementation of encoders and decoders for some of the most used data formats such as Base64 or Json. Some of these modules were originally included in the INet library, but from the version 1.5.2 of NAppGUI they have moved to encode to be able to be used in applications that do not require network support, thus avoiding external dependencies such as libcurl (Figure 1).

struct Url
Allows access to individual fields of a URL (web address) URL.
struct Url;
struct JsonOpts
Options when processing a JSON script.
struct JsonOpts { ArrPt(String)* log; };
log | If not |
encode_start ()
Start the encode library, reserving space for the global internal structures.
void
encode_start(void);
encode_finish ()
Ends the encode library, freeing the space of the global internal structures.
void
encode_finish(void);