isaiah / transit-erlang

transit format for erlang
MIT License
43 stars 12 forks source link

tagged value doesn't properly emit uuid #25

Open mushed-dev opened 7 years ago

mushed-dev commented 7 years ago

:transit.write(:transit_types.tv("om/id", :transit_types.uuid("565a051a-3acc-4168-bcdc-ab59438e5e86")),%{:format => :json}) should return a result like this "[\"~#om/id\",\"~u565a051a-3acc-4168-bcdc-ab59438e5e86\"]" but is missing the ~u.

isaksky commented 7 years ago

He fixed it with this commit:

https://github.com/isaksky/transit-erlang/commit/4c43bd03d06d2303e0b5fecfc7244395161639c7