I have a stored procedure that returns a json path :
GO
alter PROCEDURE [dbo].[usp_getjsondata](
@type INT
)
AS
BEGIN
SELECT
[Time] as 'Time',
cast([Value] as varchar(10)) as 'Value'
FROM [dbo].[tbl_data] where type = @type
for JSON PATH
END
the stored procedure is returning the following:

In the controller i have written the following code:
var json = entities.Database.SqlQuery("exec usp_getjsondata @type",
new SqlParameter("@type", type)
).ToList();
The json data is not being stored in the variable json. Am I missing something here?
entities.Database.SqlQuery("usp_getjsondata...