Encode/decode SFSObject
s in Elixir.
See http://www.smartfoxserver.com/
🚧
original = SFSObject.new
|> SFSObject.put_string("some key", "hello world")
|> SFSObject.put_int("meaning_of_life", 42)
binary = SFSObject.encode(object)
^original = SFSObject.decode(binary)
$ mix deps.get
$ mix test.watch
- increase
version:
inmix.exs
git commit -am "Release vVERSION"
git tag vVERSION
git push && git push --tags
mix hex.publish