################################################## cmakepp_lang/serialization/detail/serialize_string ################################################## .. module:: cmakepp_lang/serialization/detail/serialize_string .. function:: _cpp_serialize_string(return value) Serializes a string according to the JSON standard. This is the catch-all serialization for all CMakePP objects that do not have a serialize routine and are not Map or List instances. A string in JSON is simply the value enclosed in double quotes. :param return: Name for the variable which will hold the returned value. :type return: desc :param value: The value we are serializing. :type value: str :returns: ``return`` will be set to JSON serialized form of ``value``. :rtype: desc Error Checking ============== This function is considered an implementation detail of ``cpp_serialize`` and does not perform any error checking.