Common Lisp Package: JSON-TEST

README:

FUNCTION

Private

FOO-A (X)

Takes a lisp value and just passes it through identity; we can use this to probe the behavior of the array encoding.

FOO-B (X)

Takes a lisp value and just passes it through identity; we can use this to probe the behavior of the boolean encoding.

FOO-E (X Y)

Adds two numbers, returns number and string

FOO-G (X Y)

Adds two numbers, returns number and string

FOO-S (X Y)

Adds two numbers, returns number and string

IS-SAME-NUMBER (NR)

If it gets decoded back ok then it was encoded ok

Undocumented

CONTENTS-OF-FILE (FILE)

DECODE-FILE (PATH)

DECODE-THEN-ENCODE (JSON)

FIRST-BOUND-SLOT-NAME (X)

JSON-RPC-2-P (&OPTIONAL (FLAG *JSON-RPC-VERSION*))

MAKE-JSON-ARRAY-TYPE (&REST ELEMENTS)

TEST-FILE (NAME)

TEST-JSON-RPC-ARRAY-HELPER (INPUT-VALUE OUTPUT-VALUE)

TEST-JSON-RPC-BOOLEAN-HELPER (INPUT-VALUE OUTPUT-VALUE)

TEST-JSON-RPC-HELPER (METHOD-NAME)

MACRO

Private

Undocumented

TEST-JSON-RPC-BOTH (NAME &REST BODY)

WITH-FP-OVERFLOW-HANDLER (HANDLER-EXPR &BODY BODY)

WITH-NO-CHAR-HANDLER (HANDLER-EXPR &BODY BODY)

WITH-OBJECTS-AS-HASHTABLES (&BODY BODY)

GENERIC-FUNCTION

Private

Undocumented

EQUAL-OBJECTS-P (OBJECT1 OBJECT2)

FINALIZE-INHERITANCE (CLASS)

VARIABLE

Private

Undocumented

*ENCODE-PERFORMACE-TEST-STRING*

*IGNORE-TESTS*

*IGNORE-TESTS-STRICT*

*JSON-TEST-FILES-PATH*

CLASS

Private

Undocumented

FOO

FROB

GOO

P-FROB