yq/pkg/yqlib
Mike Farah c8815f5ab9
Csv decoder (#1290)
* WIP: adding CSV decoder

* Adding CSV decoder

* Added CSV roundtrip

* Fixing from review
2022-08-01 10:28:34 +10:00
..
doc Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
all_at_once_evaluator_test.go handled EvaluateNodes panic (#1140) 2022-03-15 13:28:52 +11:00
all_at_once_evaluator.go handled EvaluateNodes panic (#1140) 2022-03-15 13:28:52 +11:00
candidate_node.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
color_print.go Cleaning up exposed public api 2021-02-11 10:58:40 +11:00
compare_operators_test.go Added comparison ops (>,>=...) 2022-03-24 11:38:05 +11:00
compare_operators.go Fixing issues found by codeql 2022-05-06 13:46:14 +10:00
context.go Date Time Ops (#1110) 2022-02-14 15:37:43 +11:00
csv_test.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
data_tree_navigator.go Pass context through operators 2021-02-11 10:58:40 +11:00
decoder_base64.go Fixed base64/xml decode an empty string #1209 2022-05-27 11:18:38 +10:00
decoder_csv_object.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
decoder_json.go Added NDJSON decoder (#1281) 2022-07-27 12:26:22 +10:00
decoder_properties.go Fixes auto expansion of properties #1127 2022-03-01 11:29:11 +11:00
decoder_test.go Decoder Properties (#1099) 2022-02-10 12:02:53 +11:00
decoder_xml.go Fixes xml decode missing tags #1284 2022-07-29 10:26:50 +10:00
decoder_yaml.go Decoder Properties (#1099) 2022-02-10 12:02:53 +11:00
decoder.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
encoder_base64.go Added base64 support 2022-02-23 09:26:35 +11:00
encoder_csv.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
encoder_json.go Added NDJSON decoder (#1281) 2022-07-27 12:26:22 +10:00
encoder_properties_test.go adding support for --wrapScalar=false in properties encoder (#1241) 2022-06-25 12:22:03 +10:00
encoder_properties.go adding support for --wrapScalar=false in properties encoder (#1241) 2022-06-25 12:22:03 +10:00
encoder_test.go Added NDJSON decoder (#1281) 2022-07-27 12:26:22 +10:00
encoder_xml.go XML decoder additions (#1239) 2022-06-15 09:40:31 +10:00
encoder_yaml.go Added XML encoding/decoding (#1067) 2022-01-15 11:57:59 +11:00
encoder.go Added XML encoding/decoding (#1067) 2022-01-15 11:57:59 +11:00
expression_parser_test.go handled EvaluateNodes panic (#1140) 2022-03-15 13:28:52 +11:00
expression_parser.go Using new lexer by alecthomas! (#1270) 2022-07-13 14:45:28 +10:00
expression_postfix.go Using new lexer by alecthomas! (#1270) 2022-07-13 14:45:28 +10:00
expression_processing_test.go Using new lexer by alecthomas! (#1270) 2022-07-13 14:45:28 +10:00
file_utils.go Bumping to go1.18, bumping dev tools 2022-03-28 14:18:55 +11:00
front_matter_test.go refactor: move from io/ioutil to io and os packages (#1068) 2022-01-21 19:50:53 +11:00
front_matter.go Fixed #1062 2022-01-14 15:22:55 +11:00
json_test.go Added NDJSON decoder (#1281) 2022-07-27 12:26:22 +10:00
lexer_participle_test.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
lexer_participle.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
lexer.go Using new lexer by alecthomas! (#1270) 2022-07-13 14:45:28 +10:00
lib_test.go Add accessor for the yq logger instance (#1013) 2021-11-30 10:51:49 +11:00
lib.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
matchKeyString_test.go Make deepMatch report in linear time 2021-10-14 18:45:25 +11:00
matchKeyString.go Make deepMatch report in linear time 2021-10-14 18:45:25 +11:00
operator_add_test.go Dont clobber anchor when adding nodes - fixes #1269 2022-07-13 11:12:15 +10:00
operator_add.go Dont clobber anchor when adding nodes - fixes #1269 2022-07-13 11:12:15 +10:00
operator_alternative_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_alternative.go Fixing alternative op bug #930 2021-09-02 15:36:23 +10:00
operator_anchors_aliases_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_anchors_aliases.go Fixed self assigned issue #1107 2022-02-20 14:29:52 +11:00
operator_assign_test.go Fix typo (#1222) 2022-05-24 18:18:27 +10:00
operator_assign.go Adding acceptance test for #1257, fixed panic 2022-06-25 12:15:28 +10:00
operator_booleans_test.go Boolean fix (#1148) 2022-03-20 12:55:58 +11:00
operator_booleans.go Boolean fix (#1148) 2022-03-20 12:55:58 +11:00
operator_collect_object_test.go Added multiple object example from PR #1226 2022-05-27 11:22:10 +10:00
operator_collect_object.go enable more linters (#1043) 2021-12-21 09:30:08 +11:00
operator_collect_test.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_collect.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_column_test.go Added line and column operators 2022-02-27 11:56:46 +11:00
operator_column.go Added line and column operators 2022-02-27 11:56:46 +11:00
operator_comments_test.go Improved handling of trailing document comments 2022-05-25 10:54:03 +10:00
operator_comments.go Improved handling of trailing document comments 2022-05-25 10:54:03 +10:00
operator_contains_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_contains.go Added contains operator 2021-09-15 15:18:10 +10:00
operator_create_map_test.go Fixed empty array op 2020-11-22 13:50:32 +11:00
operator_create_map.go enable more linters (#1043) 2021-12-21 09:30:08 +11:00
operator_datetime_test.go Date Time Ops (#1110) 2022-02-14 15:37:43 +11:00
operator_datetime.go Date Time Ops (#1110) 2022-02-14 15:37:43 +11:00
operator_delete_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_delete.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_document_index_test.go Added snake_case version of camelCase operators (snake case now prefered) 2022-02-11 09:05:17 +11:00
operator_document_index.go Added key operator 2021-11-24 09:57:35 +11:00
operator_encoder_decoder_test.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
operator_encoder_decoder.go Csv decoder (#1290) 2022-08-01 10:28:34 +10:00
operator_entries_test.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_entries.go Fixing usage of quoted numeric keys #1247 2022-06-23 19:22:11 +10:00
operator_env_test.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_env.go Envsubst params (#1147) 2022-03-20 10:56:50 +11:00
operator_equals_test.go Fix typo (#1222) 2022-05-24 18:18:27 +10:00
operator_equals.go Fixing readonly ops not to modify context when paths dont exist 2021-05-16 14:36:13 +10:00
operator_error_test.go Added error operator for custom validation #1259 2022-06-25 12:46:24 +10:00
operator_error.go Added error operator for custom validation #1259 2022-06-25 12:46:24 +10:00
operator_eval_test.go Tests can have multiple env variables 2022-02-01 14:58:53 +11:00
operator_eval.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_file_test.go Added snake_case version of camelCase operators (snake case now prefered) 2022-02-11 09:05:17 +11:00
operator_file.go Added key operator 2021-11-24 09:57:35 +11:00
operator_flatten_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_flatten.go Fixed flatten error message 2021-10-26 15:43:43 +11:00
operator_group_by_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_group_by.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_has_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_has.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_keys_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_keys.go Added more tests 2021-11-24 10:16:48 +11:00
operator_length_test.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_length.go Added key operator 2021-11-24 09:57:35 +11:00
operator_line_test.go Added line and column operators 2022-02-27 11:56:46 +11:00
operator_line.go Added line and column operators 2022-02-27 11:56:46 +11:00
operator_load_test.go Added load_base64 2022-02-23 09:38:17 +11:00
operator_load.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_map_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_map.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_multiply_test.go Improved handling of trailing document comments 2022-05-25 10:54:03 +10:00
operator_multiply.go hotfix: fix panic multiply assign (#1257) 2022-06-25 12:08:52 +10:00
operator_parent_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_parent.go Added more tests 2021-11-24 10:16:48 +11:00
operator_path_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_path.go Added key operator 2021-11-24 09:57:35 +11:00
operator_pick_test.go Fixes xml decode missing tags #1284 2022-07-29 10:26:50 +10:00
operator_pick.go Fixes xml decode missing tags #1284 2022-07-29 10:26:50 +10:00
operator_pipe_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_pipe.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_recursive_descent_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_recursive_descent.go enable more linters (#1043) 2021-12-21 09:30:08 +11:00
operator_reduce_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_reduce.go Fixed SEGV error #1096 2022-02-09 11:47:21 +11:00
operator_reverse_test.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_reverse.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_select_test.go Tweaking select docs 2022-01-15 18:22:26 +11:00
operator_select.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_self.go Pass context through operators 2021-02-11 10:58:40 +11:00
operator_sort_keys_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_sort_keys.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_sort_test.go Fixed sort dropping head comment #1181 2022-04-14 12:19:15 +10:00
operator_sort.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_split_document_test.go Added snake_case version of camelCase operators (snake case now prefered) 2022-02-11 09:05:17 +11:00
operator_split_document.go enable more linters (#1043) 2021-12-21 09:30:08 +11:00
operator_strings_test.go Fix typo (#1222) 2022-05-24 18:18:27 +10:00
operator_strings.go Added string case operators 2022-02-22 16:17:23 +11:00
operator_style_test.go Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
operator_style.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_subtract_test.go Date Time Ops (#1110) 2022-02-14 15:37:43 +11:00
operator_subtract.go Fixing issues found by codeql 2022-05-06 13:46:14 +10:00
operator_tag_test.go Added type as an alias for tag #1195 2022-04-27 09:11:43 +10:00
operator_tag.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_traverse_path_test.go Fixing usage of quoted numeric keys #1247 2022-06-23 19:22:11 +10:00
operator_traverse_path.go Fixing usage of quoted numeric keys #1247 2022-06-23 19:22:11 +10:00
operator_union_test.go Fixed #1048 2022-01-14 14:55:25 +11:00
operator_union.go Added github action fix for parsing xml, updated linter 2022-02-07 11:55:55 +11:00
operator_unique_test.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_unique.go Length (and some other operators) should not include head/foot comments #1231 2022-05-31 16:28:53 +10:00
operator_value_test.go Fixed header preprocessing! 2021-11-14 10:59:50 +11:00
operator_value.go Pass context through operators 2021-02-11 10:58:40 +11:00
operator_variables_test.go Fix typo (#1222) 2022-05-24 18:18:27 +10:00
operator_variables.go Fixed SEGV error #1096 2022-02-09 11:47:21 +11:00
operator_with_test.go Fixes with operation bug #1174 2022-04-14 12:03:18 +10:00
operator_with.go Fixes with operation bug #1174 2022-04-14 12:03:18 +10:00
operators_test.go Envsubst params (#1147) 2022-03-20 10:56:50 +11:00
operators.go Boolean fix (#1148) 2022-03-20 12:55:58 +11:00
printer_test.go Added NDJSON decoder (#1281) 2022-07-27 12:26:22 +10:00
printer_writer.go When split expression includes an extension, dont add .yml automatically 2022-06-23 14:31:09 +10:00
printer.go Improved handling of trailing document comments 2022-05-25 10:54:03 +10:00
properties_test.go adding support for --wrapScalar=false in properties encoder (#1241) 2022-06-25 12:22:03 +10:00
stream_evaluator.go Added StringEvaluator for evaluating string input #1266 (#1278) 2022-08-01 08:50:56 +10:00
string_evaluator_test.go Added StringEvaluator for evaluating string input #1266 (#1278) 2022-08-01 08:50:56 +10:00
string_evaluator.go Added StringEvaluator for evaluating string input #1266 (#1278) 2022-08-01 08:50:56 +10:00
utils.go Added StringEvaluator for evaluating string input #1266 (#1278) 2022-08-01 08:50:56 +10:00
write_in_place_handler.go Better fix #1062 (return error instead of panic) 2022-01-14 15:40:24 +11:00
xml_test.go Fixes xml decode missing tags #1284 2022-07-29 10:26:50 +10:00