gawk-json: JSON extension of GNU awk

Version: 2.0.0 , license: GPLv3+
Requires: gawk 4.2.1+, gawk API 2.0+, rapidjson


Summary

The gawk-json module provides a gawk extension library that uses RapidJSON to implement functions mapping between gawk associative arrays and JSON.

Description

Wed Sep 2 09:10:24 IDT 2020
============================
This is the json extension. It dumps a gawk multidimensional array to a JSON object and reads a JSON object, recreating an equivalent array.

You will need the gawkapi.h file from gawk 4.2.1 or later.

Note that this extension won't work with the gawkapi.h from 4.1.x; that file uses at least one C++ keyword as a parameter name.

You will also need to have rapidJson installed where the compiler can find it.

Additionally, this extension now expects the gawk namespace facility; you will get something different on gawk 4.2.

For documentation, see the man page.

For example usage, see test/json.awk.

Arnold Robbins arnold@skeeve.com

Authors

Arnold D. Robbins

Documentation


Copyright © 2018-2021 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Auk picture extracted from "The New Student's Reference Work" (1914) - now public domain.