[erlang-questions] Erlang de/serializer and data type validator
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
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.)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions