package com.yeejoin.amos.fas.business.action.result;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSON;

public class BubbleTipResult  extends SimpleResult{

	@Override
	public JSON toJson() {
		// TODO Auto-generated method stub
		Map<String, Object> results = new HashMap<>();
		for (Map<String, Object> tempMap : data)
		{
			for (Map.Entry<String, Object> entry : tempMap.entrySet())
			{
				results.put(entry.getKey(), entry.getValue());
			}
		}		
		return (JSON) JSON.toJSON(results);
	}
}
