Class ParsedDocument
Base class for parsed resumes/jobs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Textkernel.Tx.Models
Assembly: Textkernel.Tx.SDK.dll
Syntax
public abstract class ParsedDocument
Methods
| Improve this Doc View SourceToFile(String, Boolean)
Save the json to disk using UTF-8 encoding
Declaration
public void ToFile(string filepath, bool formatted)
Parameters
Type | Name | Description |
---|---|---|
System.String | filepath | The file to save to |
System.Boolean | formatted | true for pretty-printing |
ToJson(Boolean)
Outputs a JSON string that can be saved to disk or any other data storage.
NOTE: be sure to save with UTF-8 encoding!
Declaration
public abstract string ToJson(bool formatted)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | formatted | true for pretty-printing |
Returns
Type | Description |
---|---|
System.String |
ToString()
Returns the job as a formatted json string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()