Which is the best method to load json file (both android and ios)

hello , which is the best method to use json file in ionic im very confused . The json file is working perfectly if i use local server (ionic serve). if i run the same app in android device im getting file not found error .someone please advice me how to use json in ionic and also post some sample code for the problem so that it will be easy to understand