#1 2019-08-27 21:07:19

keinn
Member
Registered: 2014-10-20
Posts: 100

BugReport TTextWriter.RegisterCustomJSONSerializerSetOptions

line 51791 of SynCommons.pas:this line:

if not RegisterCustomJSONSerializerSetOptions(aTypeInfo[XXXXX],aOptions) then

Missing  the "aAddIfNotExisting" parameter cause the register of array of aTypeInfo failing.

also:i use aTypeInfo[XXXXX] ,xxxx replace i in code above because when use i in this post ,i can NOT post.

Last edited by keinn (2019-08-27 21:11:04)

Offline

#2 2019-08-28 07:37:46

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: BugReport TTextWriter.RegisterCustomJSONSerializerSetOptions

Please check https://github.com/synopse/mORMot/commi … 33d190fe8c

Thanks for the feedback.

Offline

Board footer

Powered by FluxBB