[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google API Core Client - Class Serializer (1.36.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.36.1 (latest)](/php/docs/reference/gax/latest/Serializer)\n- [1.36.0](/php/docs/reference/gax/1.36.0/Serializer)\n- [1.35.1](/php/docs/reference/gax/1.35.1/Serializer) \nReference documentation and code samples for the Google API Core Client class Serializer.\n\nCollection of methods to help with serialization of protobuf objects\n\nNamespace\n---------\n\nGoogle \\\\ ApiCore\n\nMethods\n-------\n\n### __construct\n\nSerializer constructor.\n\n### encodeMessage\n\nEncode protobuf message as a PHP array\n\n### decodeMessage\n\nDecode PHP array into the specified protobuf message\n\n### static::serializeToJson\n\n### static::serializeToPhpArray\n\n### static::decodeMetadata\n\nDecode metadata received from gRPC status object\n\n### static::decodeAnyMessages\n\nDecode an array of Any messages into a printable PHP array.\n\n### static::getGetter\n\n### static::getSetter\n\n### static::toSnakeCase\n\nConvert string from camelCase to snake_case\n\n### static::toCamelCase\n\nConvert string from snake_case to camelCase\n\n### static::loadKnownMetadataTypes\n\nConstants\n---------\n\n### MAP_KEY_FIELD_NAME\n\n Value: 'key'\n\n### MAP_VALUE_FIELD_NAME\n\n Value: 'value'"]]