class_docstr: The DataTypes setting assigns data types to measurement names
  
  Imported or extracted metadata might be textual or numeric and
  that interpretation should be up to the user. This setting lets
  the user pick the data type for their metadata.
docstr: Encode a data type dictionary as a potential value for this setting
docstr_tok: ["Encode","a","data","type","dictionary","as","a","potential","value","for","this","setting"]
code: def encode_data_types(d):
      """Encode a data type dictionary as a potential value for this setting"""
      return json.dumps(d)
  
imports: import json
  from ._setting import Setting
label_desc: Use image node_id 4 for calling the DataTypes obj's underlying member method code with example usage: obj.encode_data_types(d) and returns: json