Skip to content

Conversation

d-javu
Copy link
Contributor

@d-javu d-javu commented Nov 5, 2020

Update the data contained in the test, and rework the code to be more readable

I concatenated all the data structure specification images at json.org using ImageMagick and base64 encoded the resulting file.

The same changes was applied to both testsuites, hope it works out for the utplsql version that I cannot test.

The base64 data table was generated using

cat json.png | base64 -w 2000 \
| awk 'BEGIN {i=1}; { print "    w_b64data(" i ") := \x27" $0 "\x27;"; i++ }'

… readable

The base64 data table was generated using

    cat json.png | base64 -w 2000 \
	| awk 'BEGIN {l=1}; { print "    w_b64data(" l ") := \x27" $0 "\x27;"; l++ }'
@dsnz
Copy link
Member

dsnz commented Nov 5, 2020

Thank you !

@dsnz dsnz merged commit f1cc8c3 into pljson:develop_v3 Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants