Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoder #3

Open
ghost opened this issue Oct 1, 2016 · 3 comments
Open

Encoder #3

ghost opened this issue Oct 1, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 1, 2016

Hello @a8m I'm planning to use this package to one of my new projects, but
we don't see any docs relative to the this package,

I tried to search source code for an alternative of:

json.NewEncoder(w).Encode(v)

and I couldn't find.

So my question is: does this package supports encode (from struct to []byte) or you're planning to implement something like this?

@a8m
Copy link
Owner

a8m commented Oct 1, 2016

Hi @kataras
Currently, djson only support JSON decoding.
However, I'm working on an encoder version right now, and I didn't finished it yet.
It may take me some time to make it stable and public, because in the next two weeks I'm in a vacation.
I'll let you know when it will be ready.
Thanks

@a8m a8m added the in-progress label Oct 1, 2016
@ghost
Copy link
Author

ghost commented Oct 1, 2016

I'll be glad to see it, I'm preparing a custom RPC-like framework and performance of json encode/decode it's a critical subject. I'll watch this repository, Thank you, good holidays!

@ossie-git
Copy link

Did you find time to develop the encoder and is it available? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants