2014-01-14 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbjson.c
! do not indent null used as cross reference replacement if human
readable format is disabled
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2014-01-14 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/hbjson.c
|
||||
! do not indent null used as cross reference replacement if human
|
||||
readable format is disabled
|
||||
|
||||
2014-01-14 13:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/hbjson.c
|
||||
! indent null used as cross reference replacement
|
||||
|
||||
@@ -153,7 +153,7 @@ static void _hb_jsonEncode( PHB_ITEM pValue, PHB_JSON_ENCODE_CTX pCtx,
|
||||
{
|
||||
if( pCtx->pId[ nIndex ] == id )
|
||||
{
|
||||
if( !fEOL )
|
||||
if( !fEOL && pCtx->fHuman )
|
||||
_hb_jsonCtxAddIndent( pCtx, nLevel * INDENT_SIZE );
|
||||
_hb_jsonCtxAdd( pCtx, "null", 4 );
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user