#1 2024-04-15 11:18:52

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 238
Website

JsonToNewObject does not set Valid-parameter

In mormot.core.json we can pass the parameter var Valid: boolean, which is not set upon returning. It should be set as Valid := ctxt.Valid; at the end of the method.

Regards,
Daniel

Offline

#2 2024-04-15 14:07:22

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

Re: JsonToNewObject does not set Valid-parameter

Offline

Board footer

Powered by FluxBB