Using JSON to match a String with today's date

后端 未结 1 1091
孤街浪徒
孤街浪徒 2021-01-29 03:05

I have the following JSON file:

[
    {   
        \"Date\" : \"11182013\",
        \"Quote\" : \"Today Is Monday\",
        \"By\" : \"SiKni8\"
    },
    {   
         


        
相关标签:
1条回答
  • 2021-01-29 03:43

    This is unrelated to the JSON. You are never initializing your String [] date array.

    You need something along the lines of...

    date = new String[jsonArray.length()];
    
    0 讨论(0)
提交回复
热议问题