You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2015/10/21 21:53:51 UTC
celix git commit: CELIX-237: fix json serialization
Repository: celix
Updated Branches:
refs/heads/develop ade96be02 -> d2c53ed93
CELIX-237: fix json serialization
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/d2c53ed9
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/d2c53ed9
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/d2c53ed9
Branch: refs/heads/develop
Commit: d2c53ed93373cd7010ec960ac4de6f66f5540131
Parents: ade96be
Author: Bjoern Petri <bp...@apache.org>
Authored: Wed Oct 21 21:53:24 2015 +0200
Committer: Bjoern Petri <bp...@apache.org>
Committed: Wed Oct 21 21:53:24 2015 +0200
----------------------------------------------------------------------
.../examples/calculator_proxy/private/src/calculator_proxy_impl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/d2c53ed9/remote_services/examples/calculator_proxy/private/src/calculator_proxy_impl.c
----------------------------------------------------------------------
diff --git a/remote_services/examples/calculator_proxy/private/src/calculator_proxy_impl.c b/remote_services/examples/calculator_proxy/private/src/calculator_proxy_impl.c
index af2cfc3..fc21412 100644
--- a/remote_services/examples/calculator_proxy/private/src/calculator_proxy_impl.c
+++ b/remote_services/examples/calculator_proxy/private/src/calculator_proxy_impl.c
@@ -68,7 +68,7 @@ celix_status_t calculatorProxy_add(calculator_pt calculator, double a, double b,
if (calculator->endpoint != NULL) {
json_t *root;
- root = json_pack("{s:s, s:[fmt]}", "m", "add(DD)D", "a", a, b);
+ root = json_pack("{s:s, s:[ff]}", "m", "add(DD)D", "a", a, b);
char *data = json_dumps(root, 0);
char *reply = NULL;