summaryrefslogtreecommitdiffstats
path: root/robot/resources/json_templater.robot
diff options
context:
space:
mode:
authorTal Karbachinsky <talka@amdocs.com>2018-01-25 10:27:17 +0200
committerTal Karbachinsky <talka@amdocs.com>2018-01-25 10:32:07 +0200
commitc3bf551122c35ac6e65463555d83fc50823244d9 (patch)
tree1c5de3a6d876bd67f424a862a29131a1178a7313 /robot/resources/json_templater.robot
parent88a967c466a4b4821a136040268b7937597a936d (diff)
added mso delete option & string encoder
Issue-ID: TEST-75 Change-Id: If4e6ff74bafb63ca73f6be6f6dc32b165b0ed9d8 Signed-off-by: Tal Karbachinsky <talka@amdocs.com>
Diffstat (limited to 'robot/resources/json_templater.robot')
-rw-r--r--robot/resources/json_templater.robot9
1 files changed, 8 insertions, 1 deletions
diff --git a/robot/resources/json_templater.robot b/robot/resources/json_templater.robot
index 6a5ca171..4788fe57 100644
--- a/robot/resources/json_templater.robot
+++ b/robot/resources/json_templater.robot
@@ -18,4 +18,11 @@ Fill JSON Template File
[Arguments] ${json_file} ${arguments}
${json}= OperatingSystem.Get File ${json_file}
${returned_json}= Fill JSON Template ${json} ${arguments}
- [Return] ${returned_json} \ No newline at end of file
+ [Return] ${returned_json}
+
+Encode String
+ [Documentation] Encodes String
+ [Arguments] ${json}
+ ${returned_string}= string encoder ${json}
+ log ${returned_string}
+ [Return] ${returned_string} \ No newline at end of file