Skip to content

Commit

Permalink
BICAS: Bugfix: JSON_object_str: Always trailing LF
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikPGJ committed Jul 24, 2024
1 parent 15657dd commit 53cc5df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mission/solar_orbiter/bicas/descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
% str = print_JSON_object_recursive(JsonObj, 0, false, Settings);
% str = [str, Settings.lineBreakStr];
str = jsonencode(JsonObj, 'PrettyPrint', true);

% IMPLEMENTATION NOTE: String ends up in irf.str.add_prefix_on_every_row() which
% requires multi-row strings to always end with line feed.
str = [str, newline]; % Add line feed
end


Expand Down

0 comments on commit 53cc5df

Please sign in to comment.