From f475e581b72b8c42cf951f6653610d15e71caeee Mon Sep 17 00:00:00 2001 From: Joey Adams Date: Sat, 24 Jul 2010 18:28:46 -0400 Subject: * Migrated my Unicode functions to util.c and made them rely more on PostgreSQL's pg_wchar.h routines. * Touched up various functions' documentation. json_node's are currently encoded in UTF-8, and the JSON module is not 100% compatible with arbitrary server encodings yet. I plan to switch from UTF-8 to the server encoding pretty soon, after which JSON should be a well-behaved datatype as far as charsets go. --- jsonpath.c | 1 - 1 file changed, 1 deletion(-) (limited to 'jsonpath.c') diff --git a/jsonpath.c b/jsonpath.c index eaf5b7a..591c5fd 100644 --- a/jsonpath.c +++ b/jsonpath.c @@ -176,7 +176,6 @@ jp_show(JSONPath * jp) break; case JP_KEY_SUBSCRIPT: tmp = json_encode_string(elem->data.key.ptr, elem->data.key.length, '"', false); - Assert(tmp != NULL); appendStringInfo(string, "%s[%s]", rd ? ".." : "", tmp); pfree(tmp); break; -- cgit v1.2.3