Commit History

Author SHA1 Message Date
  Philip Prindeville 6fc29d1c42 jshn.sh: Add pretty-printing to json_dump 1 year ago
  Felix Fietkau ea56013409 jshn.sh: add json_add_fields function for adding multiple fields at once 1 year ago
  Hans Dedecker bb0c830b2a sh/jshn.sh: add json_for_each_item() 6 years ago
  Christian Beier 9c4aeda962 jshn: add functionality to read big JSON 6 years ago
  Jo-Philipp Wich 1c08e80313 jshn: properly support JSON "null" type 6 years ago
  Felix Fietkau f09ae76445 Revert "jshn: only keep UP_* variables around while they are needed" 9 years ago
  Felix Fietkau 0bfb44f590 jshn: shorten JSON_VAR to J_V 9 years ago
  Felix Fietkau d59fa8d588 jshn: shorten variable names to speed up processing 9 years ago
  Felix Fietkau f386a0d7d8 jshn: remove TYPE_JSON_VAR 9 years ago
  Felix Fietkau 4a09bb0284 jshn: do not export JSON_SEQ 9 years ago
  Felix Fietkau 37b5203e18 jshn: only keep UP_* variables around while they are needed 9 years ago
  Felix Fietkau d5d384b0ba jshn: improve performance by using let instead of $(( )) 9 years ago
  Jo-Philipp Wich bd388d2b6c jshn: do not collapse whitespace in json_load() 10 years ago
  Bastian Bittorf 51766c25e9 sh/jshn.sh - json_cleanup() dont pollute env with local vars 10 years ago
  Felix Fietkau 43d2d349cb jshn: drop json_select warnings when called from json_get_values() 10 years ago
  Jo-Philipp Wich e58fa88e1f jshn: add ability to pass default values to json_get_var and json_get_vars 10 years ago
  Felix Fietkau 318d682d29 jshn: in json_get_values(), handle json_select errors 10 years ago
  Felix Fietkau 9636c0e79c jshn: optimize the shell code some more 10 years ago
  Felix Fietkau a34c8f6918 jshn: refactor _jshn_append to require fewer evals 10 years ago
  Felix Fietkau dcbc14a701 jshn: improve performance by getting rid of unnecessary variables in parser related code 10 years ago
  Felix Fietkau 2d4ce122c4 jshn: do not export SEQ_* 10 years ago
  Felix Fietkau 1a32939cb5 jshn: get rid of the table stack, use the UP_* variable instead to speed up processing 10 years ago
  Felix Fietkau 554ed49c15 jshn: reduce the number of appends to the cleanup list to speed up processing of large json files 10 years ago
  Felix Fietkau b7e61837e7 jshn: allow json_get_keys/values to refer to the currently selected array/table if no argument is given 10 years ago
  Felix Fietkau b5aa522f5d jshn: add json_get_values (useful for arrays) 10 years ago
  Felix Fietkau 4bc1a3a46b jshn: add json_get_keys() 10 years ago
  Felix Fietkau 00a833c5b6 jshn: add support for the double datatype 11 years ago
  Luka Perkov 220958b7d9 rename internal variables in json_get_type 11 years ago
  Luka Perkov f1735cd94e sanitize json_get_type function 11 years ago
  Felix Fietkau 4d0a00c82c jshn: fix check to reset array sequence counters on cleanup 11 years ago