parameters: (self, decoded)
docstring: Checks that dict has only the appropriate keys for orient='split'.
docstring_summary: Checks that dict has only the appropriate keys for orient='split'.
docstring_tokens: Checks that dict has only the appropriate keys for orient = split .
function: def check_keys_split(self, decoded):
          """
          Checks that dict has only the appropriate keys for orient='split'.
          """
          bad_keys = set(decoded.keys()).difference(set(self._split_keys))
          if bad_keys:
              bad_keys = ", ".join(bad_keys)
              raise ValueError(u("JSON data had unexpected key(s): {bad_keys}")
                               .format(bad_keys=pprint_thing(bad_keys)))
function_tokens: def check_keys_split ( self , decoded ) : bad_keys = set ( decoded . keys ( ) ) . difference ( set ( self . _split_keys ) ) if bad_keys : bad_keys = ", " . join ( bad_keys ) raise ValueError ( u ( "JSON data had unexpected key(s): {bad_keys}" ) . format ( bad_keys = pprint_thing ( bad_keys ) ) )