File tree Expand file tree Collapse file tree 1 file changed +4
-17
lines changed
iterableapi/src/main/java/com/iterable/iterableapi Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change 2424import java .util .Date ;
2525import java .util .List ;
2626import java .util .Map ;
27- import java .util .Set ;
2827import java .util .TimeZone ;
2928import java .util .regex .Matcher ;
3029import java .util .regex .Pattern ;
@@ -88,24 +87,12 @@ public String getPayloadData(String key) {
8887 }
8988
9089 /**
91- * Retrieves all of the payload as a single JSON Object
92- * @return JSONObject
90+ * Retrieves all of the payload as a single Bundle Object
91+ * @return Bundle
9392 */
9493
95- public JSONObject getPayloadData () {
96- JSONObject json = new JSONObject ();
97- if (_payloadData == null ) {
98- return json ;
99- }
100- Set <String > keys = _payloadData .keySet ();
101- try {
102- for (String key : keys ) {
103- json .put (key , _payloadData .get (key ));
104- }
105- } catch (JSONException e ) {
106- e .printStackTrace ();
107- }
108- return json ;
94+ public Bundle getPayloadData () {
95+ return _payloadData ;
10996 }
11097
11198 /**
You can’t perform that action at this time.
0 commit comments