Need help sending JSON response to front end


Need help sending JSON response to front end

Hi, Using the net/http package I created a server with an endpoint that will perform a calculation and return an array of arrays[8][8]int. What is the easiest way to send this back to the front end as a json array of arrays?

Submitted July 12, 2017 at 12:45AM by nickelstheclown
via reddit http://ift.tt/2uNEB1A

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s