Skip to content

Insufficient RTTI available Error on some records #17

@GoogleCodeExporter

Description

@GoogleCodeExporter
I am using Delphi XE 
I have a record


     tmyrec=packed record
       myname:string ; 
       mysurname:string  ;
       myage:integer;
       mydate:tdatetime;
     end;

Using superobject I can convert it to a json string but when I try it with 

     tmyrec=packed record
       myname:string[50] ; 
       mysurname:string[50]  ; //I put limited strings here
       myage:integer;
       mydate:tdatetime;
     end;

I get error 
Insufficient RTTI available to support this operation.


How can I serialize such records? can you send an example? thank you.


Original issue reported on code.google.com by ustun...@gmail.com on 8 Jun 2011 at 2:14

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions