diff --git a/output_lib.sh b/output_lib.sh index 5ead4b7..af79f02 100644 --- a/output_lib.sh +++ b/output_lib.sh @@ -40,3 +40,7 @@ endjson (){ logjson (){ printf "\n \"%s\": \"%s\"," "$1" "$2" | tee -a "$logger.json" 2>/dev/null 1>&2 } + +integerjson (){ + printf "\n \"%s\": %s," "$1" "$2" | tee -a "$logger.json" 2>/dev/null 1>&2 +}