Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Aug 16, 2015
1 parent d5c44a7 commit b05bb47
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ public func parse<T>(json: AnyObject, path: [String], decode: (AnyObject throws
which call the `parse`-function.
```swift
public func => <T: Decodable>(lhs: AnyObject, rhs: String) throws -> T
public func => <T: Decodable>(lhs: AnyObject, rhs: String) -> T?
public func => <T: Decodable>(lhs: AnyObject, rhs: String) throws -> T?
public func => <T: Decodable>(lhs: AnyObject, rhs: String) throws -> [T]
public func => <T: Decodable>(lhs: AnyObject, rhs: String) -> [T]?
public func => <T: Decodable>(lhs: AnyObject, rhs: String) throws -> [T]?
public func => <T: Decodable>(lhs: AnyObject, rhs: String) throws -> [T?]
public func =>? <T: Decodable>(lhs: AnyObject, rhs: String) throws -> [T]
public func => (lhs: AnyObject, rhs: String) throws -> NSDictionary

public func =>? <T: Decodable>(lhs: AnyObject, rhs: String) throws -> [T]
public func =>? <T: Decodable>(lhs: AnyObject, rhs: String) -> T?

// Enables parsing nested objects e.g json => "a" => "b"
// Uses \u{0} as a separator
public func => (lhs: String, rhs: String) -> String
Expand Down

0 comments on commit b05bb47

Please sign in to comment.