Skip to content

Commit

Permalink
Merge pull request PerfectlySoft#217 from Kumuluzz/master
Browse files Browse the repository at this point in the history
Updated access control for methods in JSONConvertibleObject
  • Loading branch information
iamjono authored Aug 30, 2016
2 parents 51cc4b3 + 634b7d8 commit 30323ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PerfectLib/JSONConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ open class JSONConvertibleObject: JSONConvertible {
/// Set the object properties based on the JSON keys/values.
open func getJSONValues() -> [String:Any] { return [String:Any]() }
/// Encode the object into JSON text
public func jsonEncodedString() throws -> String {
open func jsonEncodedString() throws -> String {
return try self.getJSONValues().jsonEncodedString()
}
}
Expand Down

0 comments on commit 30323ad

Please sign in to comment.