################################################# cmakepp_lang/serialization/detail/serialize_value ################################################# .. module:: cmakepp_lang/serialization/detail/serialize_value .. function:: _cpp_serialize_value(return value) Dispatches based on type to the appropriate serialization implementation. This function is used to encapsulate the logic required to dispatch to the correct serialization implementation based on the type of the input value. :param return: The name for the variable which will hold the result. :type return: desc :param value: The value we are serializing. :type value: str :returns: ``return`` will be set to the JSON serialized form of ``value``. :rtype: desc Error Checking ============== This function is considered an implementation detail of ``cpp_serialize`` and performs no error-checking.