The Nacos software development kit (SDK) supports the parsing of Properties-formatted configuration, but does not support parsing YAML-formatted configuration. When you create a Properties-format configuration in the SAE configuration center and retrieve it using the Nacos SDK, the SDK can retrieve the configuration. However, the Nacos SDK cannot parse the configuration into YAML format.
Resolution
Parse the configuration data manually in your application code. Use a Properties parser appropriate for your programming language to process the raw configuration string returned by the Nacos SDK.
The Nacos SDK does not parse YAML-formatted configuration either. If your application requires YAML format, you still need to parse the returned string using a YAML library in your application code.