parsing Json where ID is an integer using gson

I want to parse the following Json file in Java. But I am not able to parse it because the tag is an integer. Please suggest a method to parse the following data:

    1: "rtsp://",
    5: "",
    6: "rtsp://"


What happens if you create fields like following in the object that you try to parse it too:

public String number_1;

I assume you use gson.

Need Your Help

How to split two strings and swap sliced parts in C#?

c# string split

I have an array and each index contains a string with four characters. I need to select a random point in the string and then slice stringaArray[0] and stringaArray[1] at the same point and swap th...

Ninject error on deployment deployment ninject godaddy system.reflection

When i run the site on my local machine for testing proposes it works fine but when i deploy to godaddy it displays this error: