Package io.didomi.sdk

Class JSONHelper


  • public class JSONHelper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.json.JSONObject loadJSONFromAsset​(java.lang.String fileName, android.content.Context context)
      Method used to load a json file from the Assets folder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSONHelper

        public JSONHelper()
    • Method Detail

      • loadJSONFromAsset

        public static org.json.JSONObject loadJSONFromAsset​(java.lang.String fileName,
                                                            android.content.Context context)
        Method used to load a json file from the Assets folder.
        Parameters:
        fileName -
        context -
        Returns: