[erlang-questions] RecordA serialization ... time ... deserialization to RecordB?
Joel Reymont
joelr1@REDACTED
Fri Nov 11 10:57:15 CET 2011
You need to serialize the record fields with their tags. Then you can use
something like exprecs to set individual fields in the new record
definition.
This assumes you are just adding fields and names of old fields stay the
same.
---
Sent from my iPhone
On Nov 11, 2011, at 10:44 AM, Maxim Treskin <zerthurd@REDACTED> wrote:
Max, what are you need indeed? Your words sounds very strange.
On 11 November 2011 15:31, Max Bourinov <bourinov@REDACTED> wrote:
> Hello Erlangers,
>
> What is a best way to serialize record, modify record's code and then
> deserialize it back?
>
> I seen https://github.com/esl/parse_trans. Is this what I need or there
> are another options?
>
> Maybe I better use another data structure?
>
> p.s. Of course performance is always important.
>
> Best regards,
> Max
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
--
Maxim Treskin
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111111/fda96b1f/attachment.htm>
More information about the erlang-questions
mailing list