This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"state": { | |
"fields": { | |
"id": 18322372250, | |
"app_version": "2.0.5 (112412020)", | |
"current_view": "TodayView", | |
"locale": "en-EG", | |
"sdk_version": "15.1.1", | |
"density": "@3x", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET @test = '- !ruby/hash:ActiveSupport::HashWithIndifferentAccess | |
key: app_version | |
operator: \'8\' | |
value: | |
- latest_release | |
- top_releases'; | |
CALL yaml_to_json(@test, @result); | |
SELECT 'conditions:' as test, @result as result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Enable recursion for MySQL stored procedures | |
SET SESSION max_sp_recursion_depth = 50; | |
DELIMITER $$ | |
-- Cleanup existing procedures | |
DROP PROCEDURE IF EXISTS yaml_to_json$$ | |
DROP PROCEDURE IF EXISTS parse_yaml_recursive$$ | |
DROP PROCEDURE IF EXISTS extract_hash$$ | |
DROP PROCEDURE IF EXISTS extract_list$$ |