Is there a possibility to create a Tvalue from a TgoBsonDocument?
This one is not working and results in a empty TgoBsonDocument record:
TValue.Make(@BsonDoc,TypeInfo(TgoBsonDocument),RttiValue);
Or
RttiValue.From<TgoBsonDocument>(BsonDoc);
The other way is working:
RttiValue.AsType<TgoBsonDocument>
Hi,
Is there a possibility to create a Tvalue from a TgoBsonDocument?
This one is not working and results in a empty TgoBsonDocument record: TValue.Make(@BsonDoc,TypeInfo(TgoBsonDocument),RttiValue); Or RttiValue.From<TgoBsonDocument>(BsonDoc);
The other way is working: RttiValue.AsType<TgoBsonDocument>
Best regards Dennis