[30] Results

Golang : Decode/unmarshal unknown JSON data type with map[string]interface

golang json map interface unmarshal decode

This tutorial is courtesy of Rohan Allison on how to decode or unmarshal JSON into map[string]interface. There are….... read more


Golang : Save map/struct to JSON or XML file

golang XML json save-to-file

Previous tutorial on converting map/slice/array to JSON or XML format is for output to web via net/http package.….... read more


PHP : Convert CSV to JSON with YQL example

php yql yahoo-finance jsoncsv

Just a note for myself for future reference. Putting this down here...maybe you may find it useful too.

This tutorial….... read more


Golang : Covert map/slice/array to JSON or XML format

golang json xml http-response field-tags

Problem :

You have a data struct in map, slice or array format and you have to convert the data….... read more


Javascript : How to loop over and parse JSON data?

javascript jquery loop-over parse-json

This note is a short tutorial on how to loop over and parse JSON data with JQuery's each() function and….... read more


Golang : Read tab delimited file with encoding/csv package

golang csv tab-delimited convert json

This tutorial is just a slight modification from previous tutorial on how to read CSV file and save….... read more


Golang : Struct field tags and what is their purpose?

golang struct-field-tags meta-data json xml datastore

Got a curious question asked by a colleague today on what's the purpose on field tags inside a struct. For….... read more


Golang : Process non-XML/JSON formatted ASCII text file example

golang raw-data-file non-XML non-JSON save-file

Problem:

You have to process raw data files produced by third-party servers that you have no control over. The files….... read more


Advertisement