[erlang-questions] Erlang de/serializer and data type validator
Anton Lavrik
alavrik@REDACTED
Wed Aug 3 21:45:01 CEST 2011
2011/8/3 Motiejus Jakštys <desired.mta@REDACTED>
> On Wed, Aug 03, 2011 at 09:32:19AM +0300, Motiejus Jakštys wrote:
> > On Tue, Aug 02, 2011 at 09:10:49PM +0100, Tim Watson wrote:
> > > http://piqi.org/ might also be worth a look.
> >
> > Looks good. Actually, if I understand correctly, it's exactly what I`m
> > looking for. A thing that allows me to translate XML/JSON documents to
> > native Erlang data types according to schema and serialize back.
> >
> On the other hand, it is really heavy in terms of dependencies..
> On debian:
> apt-get install ocaml camlp4-extra ocaml-findlib gcc m4 make sed
>
> Is there anything lighter? Ideally, it should be written in Erlang and
> C, as my required feature set is pretty short.
>
Those dependencies are needed only for building Piqi. The build produces two
natively compiled self-contained executables that don't have any runtime
dependencies.
If you use rebar, Piqi has a rebar package which comes with the precompiled
binaries for popular platforms. It is available at:
https://github.com/alavrik/piqi-erlang This way, you won't need to deal with
dependencies at all.
(I'm the author of Piqi. Catching up on mail after vacation.)
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110803/dc008f2e/attachment.htm>
More information about the erlang-questions
mailing list