private static Identity parse(final JsonObject json){
  final Map<String,String> props=new HashMap<>(json.size());
  props.put(PsTwitter.NAME,json.getString(PsTwitter.NAME));
  props.put("picture",json.getString("profile_image_url"));
  return new Identity.Simple(String.format("urn:twitter:%d",json.getInt("id")),props);
}

private static Identity parse ( final JsonObject json ) { final Map < String , String > props = new HashMap < > ( json . size ( ) ) ; props . put ( PsTwitter . NAME , json . getString ( PsTwitter . NAME ) ) ; props . put ( "picture" , json . getString ( "profile_image_url" ) ) ; return new Identity . Simple ( String . format ( "urn:twitter:%d" , json . getInt ( "id" ) ) , props ) ; }
make identity from json object .
