1

Topic: http and json libraries

Prompt that is good for the task to address to server on http (s) with GET-inquiry server returns the answer in format JSON it it is necessary to accept and  (that is to receive any  a collection). For http it is good that there was a compression support. Never specific in the such was engaged, therefore I do not know what there are good libraries for this purpose.  with the open code.

2

Re: http and json libraries

Hello, a9000, you wrote: A> Prompt that is good for task A> to address to the server on http (s) with GET-inquiry A> the server returns the answer in format JSON A> it it is necessary to accept and  (that is to receive any  a collection). A> For http it is good that there was a compression support. Here all enumerated directly in standard library is available for language Go.  and with the open code

3

Re: http and json libraries

Hello, a9000, you wrote: A> Prompt that is good for task A> to address to the server on http (s) with GET-inquiry A> the server returns the answer in format JSON A> it it is necessary to accept and  (that is to receive any  a collection). A> For http it is good that there was a compression support. Correctly to you told - take Go. If very much it would be desirable with ++ to address on http to you it is necessary libcurl, for support https to collect it it is necessary with openssl, it supports compression, but it is necessary to collect with zlib - all is the industrial standard. For json is rapidjson, all but last - With. All enumerated  in fight,  and with the open code.

4

Re: http and json libraries

Hello, a9000, you wrote: A> Prompt that is good for task A> to address to the server on http (s) with GET-inquiry libcurl, MTD the Author truly speaks: MTD Date: 23.10 07:41. A> the server returns the answer in format JSON Here literally last week the library for JSON (after  libraries like the same rapidjson, it good) so found short  such, I there was necessary  while readme read, was already confident, what yes, this that that is necessary. While it is convenient.

5

Re: http and json libraries

Hello, a9000, you wrote: A> Prompt that is good for task A> to address to the server on http (s) with GET-inquiry A> the server returns the answer in format JSON A> it it is necessary to accept and  (that is to receive any  a collection). A> For http it is good that there was a compression support. For operation with HTTP: libcurl, POCO, cpp-netlib, a C ++ REST SDK (there can be problems with productivity under Unix), Beast (there will be, perhaps, most labor-consuming variant). For operation from JSON th libraries simply as a dirt. Here the big list with results of performance tests. We used RapidJSON but since handwork with JSON th is that still  made small  on top. It is said that the similar level of convenience can be received and with the help cereal.

6

Re: http and json libraries

Hello, a9000, you wrote: A> it is Never specific the such was engaged, therefore I do not know what there are good libraries for this purpose.  with the open code. In Qt is both http and json.

7

Re: http and json libraries

Hello, Skorodum, you wrote: S> Hello, a9000, you wrote: A>> it is Never specific the such was engaged, therefore I do not know what there are good libraries for this purpose.  with the open code. S> in Qt is both http and json. Is, but operation with json in Qt is not pleasant to me.