summaryrefslogtreecommitdiff
path: root/sh
Commit message (Expand)AuthorAgeFilesLines
* jshn.sh: Add pretty-printing to json_dumpPhilip Prindeville2023-04-151-1/+11
* jshn.sh: add json_add_fields function for adding multiple fields at onceFelix Fietkau2022-09-271-0/+23
* sh/jshn.sh: add json_for_each_item()Hans Dedecker2018-02-081-0/+25
* jshn: add functionality to read big JSONChristian Beier2018-01-221-0/+4
* jshn: properly support JSON "null" typeJo-Philipp Wich2018-01-071-0/+6
* Revert "jshn: only keep UP_* variables around while they are needed"Felix Fietkau2014-11-231-3/+0
* jshn: shorten JSON_VAR to J_VFelix Fietkau2014-11-231-4/+4
* jshn: shorten variable names to speed up processingFelix Fietkau2014-11-231-27/+25
* jshn: remove TYPE_JSON_VARFelix Fietkau2014-11-231-2/+1
* jshn: do not export JSON_SEQFelix Fietkau2014-11-231-1/+1
* jshn: only keep UP_* variables around while they are neededFelix Fietkau2014-11-231-0/+3
* jshn: improve performance by using let instead of $(( ))Felix Fietkau2014-11-231-1/+1
* jshn: do not collapse whitespace in json_load()Jo-Philipp Wich2014-07-161-1/+1
* sh/jshn.sh - json_cleanup() dont pollute env with local varsBastian Bittorf2014-04-261-1/+1
* jshn: drop json_select warnings when called from json_get_values()Felix Fietkau2014-02-021-1/+3
* jshn: add ability to pass default values to json_get_var and json_get_varsJo-Philipp Wich2013-12-101-2/+6
* jshn: in json_get_values(), handle json_select errorsFelix Fietkau2013-12-021-1/+1
* jshn: optimize the shell code some moreFelix Fietkau2013-12-011-43/+32
* jshn: refactor _jshn_append to require fewer evalsFelix Fietkau2013-10-301-6/+3
* jshn: improve performance by getting rid of unnecessary variables in parser r...Felix Fietkau2013-10-301-43/+39
* jshn: do not export SEQ_*Felix Fietkau2013-10-301-1/+1
* jshn: get rid of the table stack, use the UP_* variable instead to speed up p...Felix Fietkau2013-10-301-19/+6
* jshn: reduce the number of appends to the cleanup list to speed up processing...Felix Fietkau2013-10-301-5/+12
* jshn: allow json_get_keys/values to refer to the currently selected array/tab...Felix Fietkau2013-10-291-5/+15
* jshn: add json_get_values (useful for arrays)Felix Fietkau2013-10-291-0/+25
* jshn: add json_get_keys()Felix Fietkau2013-10-201-0/+9
* jshn: add support for the double datatypeFelix Fietkau2013-03-171-0/+4
* rename internal variables in json_get_typeLuka Perkov2013-01-171-5/+5
* sanitize json_get_type functionLuka Perkov2013-01-041-1/+1
* jshn: fix check to reset array sequence counters on cleanupFelix Fietkau2012-12-181-1/+1
* jshn: introduce json_is_a() convenience function to check field types without...Jo-Philipp Wich2012-12-171-0/+7
* jshn: fix array handlingFelix Fietkau2012-12-161-7/+8
* jshn: fix some variable handling regressionsFelix Fietkau2012-12-161-3/+7
* jshn: add support for namespacesFelix Fietkau2012-12-161-49/+154
* sh/jshn.sh: fix json_get_var() and json_get_type() to not return cached valuesJo-Philipp Wich2012-05-301-2/+2
* sh/jshn.sh: replace "tr" calls with inline substitution, signalize success wi...Jo-Philipp Wich2012-05-291-7/+8
* sh/jshn.sh: fix allowing numbers in identifiersFelix Fietkau2012-05-171-1/+1
* sh/jshn.sh: allow numbers in identifiers for json_get_var()Jo-Philipp Wich2012-05-161-1/+1
* jshn.sh: add json_get_vars() wrapper functionFelix Fietkau2012-05-141-0/+7
* same for json_get_varFelix Fietkau2011-09-111-1/+1
* jshn: support using characters in elements that do not conform to shell varia...Felix Fietkau2011-09-111-2/+6
* jshn: clear more variables on json_init, fix adding array elementsFelix Fietkau2011-08-111-4/+12
* jshn: add an option for printing the json data without a terminating newlineFelix Fietkau2011-05-311-1/+1
* jshn: fix invalid variable reuseFelix Fietkau2011-05-231-1/+2
* jshn: do not use -n on exportFelix Fietkau2011-05-231-10/+10
* add jshnFelix Fietkau2011-05-231-0/+115