public static boolean ensureJsonPrimitiveKeys ( Map map ) { for ( Object o : map . keySet ( ) ) { if ( ! ( o instanceof String ) ) { return false ; } } return true ; }
Ensure that all keys within the Map are String instances