Code Monkey home page Code Monkey logo

jdva's Introduction

The Vargas' JSON library (jdva)

  • Read this in other languages: Español.

What is jdva?

jdva is an AWK library that offers functions to parse and create texts conform to the JSON grammar.

Software requirements

  • A recent version of AWK.

Note:

For jdva to work in Windows it is necessary to have AWK installed. Git provides AWK.

Installation

  1. Download the complete project writing:
$ git clone git://github.com/Qaracas/jdva.git
  1. Go to new created directory:
$ cd jdva
(jdva) $
  1. (Opcional) Set AWKPATH environment variable:
(jdva) $ export AWKPATH=${AWKPATH}:.:"$(pwd)""/src"
  1. (Optional) Run tests program:
(jdva) $ cd pruebas
(jdva/pruebas) $
(jdva/pruebas) $ ./haz_pruebas
  1. Copy src/bbl_jdva.awk and src/funcs_priv.awk files into the /usr/local/share/awk directory, or into any other directory listed in AWKPATH environment variable.

Start using

To access jdva library functions from your AWK program, include the bbl_jdva.awk file at the beginning.

#!/usr/bin/gawk -E

@include "bbl_jdva.awk"

BEGIN {
    #...
}

Or pass it through the include source file command line option.

gawk -i bbl_jdva.awk '{#...}'

Documentation

See README.tutorial.md for examples and README.functions.md for a complete list of library functions.

Take a look the ejemplos (examples) folder as well.

References

This library aims to conform with the JSON (JavaScript Object Notation) data exchange format defined in:

Authors

License

This project is distributed under the terms of the GNU General Public License (GNU GPL v3.0). Look at the file LICENSE for more details.

jdva's People

Contributors

guerrera avatar qaracas avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.