A simple string is considered valid JSON. However, our parsers do
not accept that unless the string has quotation marks. This commit
modifies the parser to look for strings declared as application/json
which do not begin with '[' '{' or '"' and surrounds them with
quotes.
Signed-off-by: Lance Ball <lball@redhat.com>
|
||
|---|---|---|
| .. | ||
| ce.png | ||
| cloud_event_test.ts | ||
| constants_test.ts | ||
| emitter_factory_test.ts | ||
| emitter_singleton_test.ts | ||
| message_test.ts | ||
| parser_test.ts | ||
| sdk_test.ts | ||
| spec_1_tests.ts | ||
| spec_03_tests.ts | ||
| utilities_test.ts | ||