util.h 298 B

1234567891011121314
  1. #pragma once
  2. #include <util/generic/string.h>
  3. namespace NProtobufJson {
  4. void ToSnakeCase(TString* const name);
  5. void ToSnakeCaseDense(TString* const name);
  6. /**
  7. * "FOO_BAR" ~ "foo_bar" ~ "fooBar"
  8. */
  9. bool EqualsIgnoringCaseAndUnderscores(TStringBuf s1, TStringBuf s2);
  10. }