Check out example codes for "apache serve json". It will help you in understanding the concepts better.

Code Example 1

AddDefaultCharset utf-8
AddType 'application/json; charset=UTF-8' .json

Learn ReactJs, React Native from akashmittal.com