title: json (which contains few objects) to TreeMap on java
body: <p>can somebody show code which deserialize json to TreeMap? Some simple example which includes example of json
  I'll show what I've tried 
  First of all I am newbie so forgive me
  That's my json(probably i have mistakes even here):</p>
  
  <pre><code>{"Car":[{"mark":"AUDI_A3", "colour": "black"},
  {"mark":"BMW_m3", "colour": "white"}]}
  </code></pre>
  
  <p>There is my code which does not work</p>
  
  <pre><code>public static void main(String[] args) {
          open();
      }
      private static void open(){
          try {
              BufferedReader buff = new BufferedReader(new FileReader("C:\Users\\t1.json"));
              String bf=null;
              String json= null;
              while((bf=buff.readLine())!=null){
                  json+=bf;
              }
              Gson gson = new Gson();
              Type type = new TypeToken&lt;TreeMap&lt;String, SmallGuys&gt;&gt;(){}.getType();
              TreeMap&lt;String, SmallGuys&gt; Platoon = gson.fromJson(json, type);
              System.out.print(Platoon.keySet());
          }
          catch (Exception e){
              System.out.println("There is a mistake");
          }
      }
  </code></pre>