Showing posts with label json. Show all posts
Showing posts with label json. Show all posts

Wednesday, May 2, 2018

Aeson: the tutorial

Aeson: the tutorial

Aeson is the most widely used library for parsing JSON (in Haskell, of course, I'm not talking about the whole world). It's also hopelessly magical for people who try to learn it by looking at provided examples, and existing tutorials don't help that much, so I wrote my own.

Wednesday, January 17, 2018

Tutorial: parsing JSON with OCaml



In this article, I’m going to share a little bit of knowledge introducing a brief example of parsing data in OCaml using ocamllex and menhir in a step-by-step tutorial. For those opting to use the repository, you can get it here.

Friday, December 22, 2017

Go by Example : JSON



In order to use the values in the decoded map, we’ll need to cast them to their appropriate type. For example here we cast the value in num to the expected float64 type.

Monday, December 18, 2017

Proper way how-to marshal and unmarshal Golang structs within the Redis cache



Now this one will be really simple, and, regardless of that there are many ways how you can encode and decode structs, I’ve chosen JSON as a package for encoding and decoding simply because it’s very easy to read caches, you can use struct tags within and in general, I love JSON.

Thursday, May 11, 2017

json-api-normalizer: легкий способ подружить Redux и JSON API



В последнее время набирает популярность стандарт JSON API для разработки веб-сервисов.

bundlephobia

JavaScript bloat is a more real problem today than it ever was. Bundlephobia lets you understand the performance cost of adding a npm pack...