Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 388 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 388 Bytes

JSON

This example will show how to encode and decode JSON data using the encoding/json package.

Getting Started

Prerequisites

Command to test

curl --json "{\"firstname\":\"Yuuki\",\"lastname\":\"NguyenNgocMinhQuocccccc\",\"age\":24}" http://localhost:8088/decode
curl -s http://localhost:8088/encode