Переглянути джерело

Correct docs on textformat support

Thomas Van Lenten 8 роки тому
батько
коміт
72e43340a7
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      Documentation/API.md

+ 3 - 3
Documentation/API.md

@@ -79,9 +79,9 @@ public struct Example: SwiftProtobuf.Message {
   func jsonString() throws -> String
   init(jsonString: String) throws
 
-  // Messages can be serialized or deserialized to Protobuf text format:
-  func serializedText() -> String
-  init(serializedText: String) throws
+  // Messages can be serialized or deserialized to Protobuf TextFormat:
+  func textFormatString() -> String
+  init(textFormatString: String) throws
 
   // These are the generated methods used internally by the
   // serialization and deserialization mechanisms.