[73] Results

Golang : Convert file unix timestamp to UTC time example

golang json-time nano-seconds milli-seconds time-unix

This tutorial is my own notes from helping out a friend from my working days in Indonesia. Putting it here….... read more

Javascript : Access JSON data example

javascript json


You have a JSON string such as below and you want to access the data individually via Javascript. How….... read more

PHP : Count number of JSON items/objects

php json

Recently I need to paginate the search result returned by ElasticSearch. To paginate the result with standard CodeIgniter paginate helper....….... read more

Javascript : Read/parse JSON data from HTTP response

javascript json parse

This is just a quick note on how to parse JSON data with Javascript. The JSON data is generated in….... read more

Golang : Marshal and unmarshal json.RawMessage struct example

golang json-raw-message json-marshal json-unmarshal

Golang's json.RawMessage type is a good way to deal with generic JSON objects other than interface{}. There are times when….... read more

Golang : Calculate time different

golang time-different

Problem :

You are looking to calculate the days between two dates. How to do that in Golang?

Solution :

.... read more

Golang : Date and Time formatting

golang date time timestamp

Our civilizations won't progress till this stage without proper understanding, parsing and organising our lives base on date and time.….... read more

Golang : Process json data with Jason package

golang jason json

While writing out the tutorial on how to read json data and save to csv, I was thinking….... read more