Skip to content

Commit

Permalink
Fix invalid JSON error in com.palm.applicationManager/launch
Browse files Browse the repository at this point in the history
Remove extraneous quote at end of JSONUtils.h REQUIRED_UNION_2
Correct servicecallback_launch call to VALIDATE_SCHEMA_AND_RETURN
Correct spelling error in comment

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@palm.com>

Change-Id: Ifef5de56c6cccd4c920e6b39099645fd02763f08
  • Loading branch information
ericblade-owo committed Sep 19, 2012
1 parent 1a951de commit 87ba8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/base/JSONUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extern const char * STANDARD_JSON_SUCCESS;
#define OPTIONAL(name, type) "\"" #name "\":{\"type\":\"" #type "\",\"optional\":true}"

// Build a Union Schema
#define REQUIRED_UNION_2(name, type1, type2) "\"" #name "\":{\"type\":[{\"type\":\"" #type1 "\"},{\"type\":\"" #type2 "\"}]\"}"
#define REQUIRED_UNION_2(name, type1, type2) "\"" #name "\":{\"type\":[{\"type\":\"" #type1 "\"},{\"type\":\"" #type2 "\"}]}"

// Build an Object Schema as a const char * string
#define NAKED_OBJECT_EMPTY(objName) "\"" #objName "\":{\"type\":\"object\",\"properties\":{" SYSTEM_PARAMETERS "},\"additionalProperties\":false}"
Expand Down

0 comments on commit 87ba8f3

Please sign in to comment.