Post
Topic
Board Pools
Re: [~1000 Gh/s Mining Pool] HTTPS/SSL, instant payouts,LP,+1% for NO INVALID BLOCKS
by
Veldy
on 21/05/2011, 03:32:31 UTC
Can you please adjust the API to output JSON in an easier to use format?
Some people already asked me for that, but I can't just change it because that would break all the existing software.
May be it can be done as optional mode by additional key. (And I wanted to do JSONP too).

The existing JSON format is perfectly readable and valid. Do you need help with parsing it ? What programming language do you use ?

I'm using .NET and the current message format seems to be preventing me from using a DataContractJsonSerializer on the worker objects.  I'd like to avoid using the json serializer on codeplex and just do it natively.

It's not a big deal, really. No worries.

JSON parsing looks to be so simple that you are probably better off writing your own anyway since it should fit into your app exactly the way you intend and will be as lightweight as possible where caned code is possibly over engineered or over featured for what you want.   There is good code on Codeplex, but clearly you are suffering from a limitation now anyway :$

BTW, is there an official JSON spec?