--- libelwix/inc/elwix/ajson.h 2025/08/25 12:58:08 1.9.2.3 +++ libelwix/inc/elwix/ajson.h 2026/03/31 15:25:23 1.10.20.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: ajson.h,v 1.9.2.3 2025/08/25 12:58:08 misho Exp $ +* $Id: ajson.h,v 1.10.20.1 2026/03/31 15:25:23 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2025 +Copyright 2004 - 2026 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -131,6 +131,14 @@ unsigned int json_parse(json_t * __restrict json, cons * @return =NULL error or !=NULL variable, after use should be ait_freeVar() */ ait_val_t *json_token2val(const char *jstr, jtok_t * __restrict tok); +/* + * json_token2rstr() - Return token to raw string + * + * @jstr = JSON string + * @tok = Token for convert + * @return =NULL error or !=NULL allocated str, after use should be json_freestr()|e_free() + */ +char *json_token2rstr(const char *jstr, jtok_t * __restrict tok); /* * json_token2str() - Return token to string *