Classes
Methods
-
customEncodeURIComponent(str)
-
Custom URL encoding for special characters
Parameters:
Name Type Description strString String to encode
- Source:
Returns:
Encoded string
- Type
- String
-
decodeContent(content)
-
Decodes content from GitHub API
Parameters:
Name Type Description contentString Base64 encoded content
- Source:
Returns:
Decoded content
- Type
- String
-
decodeJsonContent(content)
-
Safely decodes and parses JSON content
Parameters:
Name Type Description contentString Base64 encoded JSON content
- Source:
Returns:
Parsed JSON object
- Type
- Object
-
encodeContent(content)
-
Encodes content for GitHub API
Parameters:
Name Type Description contentString | Object Content to encode
- Source:
Returns:
Base64 encoded content
- Type
- String
Mediumroast for GitHub API and SDK